Sha256: bea54a95e1cd63e3def00568f0686058f344c74d44db45424c9c61a11b81f560

Contents?: true

Size: 409 Bytes

Versions: 175

Compression:

Stored size: 409 Bytes

Contents

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

type MapCustomButtonTypes = {
  onClick?: () => {};
  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

175 entries across 175 versions & 1 rubygems

Version Path
playbook_ui-13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21365 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21358 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.10.0.pre.alpha.play10481357 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.10.0.pre.alpha.play845addswiftkitspage1332 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.10.0.pre.alpha.PLAY978alphatesthighcharts41330 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21328 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.10.0.pre.alpha.PLAY1046multilevelsingleselectphase21323 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.10.0.pre.alpha.play978makehighchartsadevdependencypoc1322 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.10.0 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.9.0.pre.alpha.play978makehighchartsadevdependencypoc1292 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.9.0.pre.alpha.verdaccioregistry1277 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.9.0.pre.alpha.play845addswiftkitspage1273 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.9.0.pre.alpha.play845addswiftkitspage1272 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.9.0.pre.alpha.play845allkitsbytypes1271 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.9.0.pre.alpha.play845allkitsbytypes1270 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.9.0.pre.alpha.play845allkitsbytypes1268 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.9.0.pre.alpha.play845allkitsbytypes1266 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.9.0.pre.alpha.play845allkitsbytypes1264 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.9.0.pre.alpha.play845allkitsbytypes1263 app/pb_kits/playbook/pb_map/_map_custom_button.tsx
playbook_ui-13.9.0.pre.alpha.play845allkitsbytypes1262 app/pb_kits/playbook/pb_map/_map_custom_button.tsx