Sha256: f7903574c888d68701a104c958bf8b0968a6dfbca29108bf8a5956bb37b0a91b

Contents?: true

Size: 424 Bytes

Versions: 655

Compression:

Stored size: 424 Bytes

Contents

import React from "react";
import Button from "../pb_button/_button";
import Icon from "../pb_icon/_icon";

type MapCustomButtonTypes = {
  onClick?: () => void;
  icon?: string;
};

const MapCustomButton = ({ onClick, icon }: MapCustomButtonTypes) => {
  return (
    <Button className="pb_map-custom-button"
        onClick={onClick}
    >
      <Icon icon={icon} />
    </Button>
  );
};

export default MapCustomButton;

Version data entries

655 entries across 655 versions & 1 rubygems

Version Path
playbook_ui-13.21.0 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.20.0.pre.alpha.PBNTR225advancedtablefeedback2375 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.19.0.pre.alpha.PBNTR200addadvancedtablekitdarkmodestyles2346 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2345 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2342 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.19.0.pre.alpha.play1186collapsiblenaviconcolorbug2321 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.19.0.pre.alpha.PBNTR211tablekitsubcomponentsreact2318 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2306 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.19.0.pre.alpha.play1174fixconfimationtoastmobilebug2305 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.20.0 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.19.0.pre.alpha.play1141iconkitusinglibrary2264 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.19.0.pre.alpha.PBNTR207tabledivsupport2261 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.19.0.pre.alpha.PBNTR207tabledivsupport2245 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.19.0 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.18.0.pre.alpha.thor93bargraphoptions2219 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.18.0.pre.alpha.thor93bargraphoptions2211 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.18.0.pre.alpha.play1141iconkitusinglibrary2210 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.18.0.pre.alpha.PLAY12062203 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.18.0.pre.alpha.powercentrainplaybookpt22201 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.18.0.pre.alpha.PLAY8672199 app/pb_kits/playbook/pb_map/_map_custom_button.tsx