@elemental/toggle-button

0.0.2 • Public • Published

<ToggleButton />

The <ToggleButton /> component provides a button element (<button />) that will toggle a boolean value.

Props

  • onChange - Triggers each the time is toggled.
  • toggled - Set the toggle value.

Readme

Keywords

none

Package Sidebar

Install

npm i @elemental/toggle-button

Weekly Downloads

1

Version

0.0.2

License

MIT

Last publish

Collaborators

  • rmariuzzo