Sha256: f7903574c888d68701a104c958bf8b0968a6dfbca29108bf8a5956bb37b0a91b

Contents?: true

Size: 424 Bytes

Versions: 625

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

625 entries across 625 versions & 1 rubygems

Version Path
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
playbook_ui-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2197 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.18.0.pre.alpha.dependabotnpmandyarnreactrouterdom62212196 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.18.0.pre.alpha.dependabotnpmandyarntypescripteslintparser56202194 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.18.0.pre.alpha.PLAY12062192 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.18.0.pre.alpha.useexactnodejsversionghactions2183 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.18.0.pre.alpha.useexactnodejsversionghactions2181 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.18.0.pre.alpha.useexactnodejsversionghactions2180 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.18.0.pre.alpha.useexactnodejsversionghactions2179 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.18.0.pre.alpha.PBNTR191AdvancedTableFinalFixes2178 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.18.0.pre.alpha.PLAY12062177 app/pb_kits/playbook/pb_map/_map_custom_button.tsx