hadron-react-buttons

6.0.2 • Public • Published

hadron-react-buttons

Hadron React Button Components

Usage

const { IconButton, TextButton } = require('hadron-react-buttons');

const icon = (
  <IconButton
    title="title"
    clickHandler={click}
    className="class-name"
    iconClassName="icon-class-name"
    dataTestId="icon-button-test" />
);

const text = (
  <TextButton
    text="title"
    clickHandler={click}
    className="class-name"
    dataTestId="text-button-test" />
);

Readme

Keywords

Package Sidebar

Install

npm i hadron-react-buttons

Weekly Downloads

4

Version

6.0.2

License

SSPL

Unpacked Size

69.9 kB

Total Files

6

Last publish

Collaborators

  • orechova
  • himanshusinghs
  • c-buckingham
  • mongo-j
  • mabaasit
  • alexander_schroll
  • chuck.kalmanek
  • mongodb-js-user
  • rueckstiess
  • durran
  • lerouxb
  • fredtruman
  • mbroadst
  • hswolff
  • satyasinha
  • matt_d_rat
  • rhysm
  • tomhollander
  • alena.khineika
  • jeff-allen-mongo
  • mmarcon
  • jonathan.balsano
  • mongodb-build
  • jack.weir
  • stennie
  • mcasimir
  • kristina.stefano
  • jarjee
  • shaketbaby
  • devtoolsbot
  • addaleax
  • gribnoysup
  • mutukrish