tsdev-react-toggle-switch

1.0.0 • Public • Published

tsdev-react-toggle-switch

Installation

npm install tsdev-react-toggle-switch

Properties

name type default required
disabled bool false no
handleOnToggle func noop no
id string 'tsdev-toggle-switch-{uuid}' no
labelOff bool true no
labelOn bool true no
labelMaxWidth number 130 no
on bool false no
showIcons bool false no
showLabels bool true no
subClass string '' no
width number 50 no

Static Storybook

  • open with browser '/storybook-static/index.html'

Examples

  • open with browser '/dist/examples/index.html'

## Styles

  • '/dist/styles.css'

Functions

handleOnToggle(event, status) => {
    console.log(event);
    console.log(status)
}

Package Sidebar

Install

npm i tsdev-react-toggle-switch

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3 MB

Total Files

33

Last publish

Collaborators

  • thebuoyant