<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.
<ToggleButton />
The <ToggleButton />
component provides a button element (<button />
) that will toggle a boolean value.
onChange
- Triggers each the time is toggled.toggled
- Set the toggle value.npm i @elemental/toggle-button
0
0.0.2
MIT