phoenix-components-library
Version:
Component library for Phoenix Frontend Projects.
20 lines (11 loc) • 342 B
Markdown
# Switch
How To Inport Switch.
```js
import { Switch } from "phoenix-components-library";
```
### Instructions
Use `defaultChecked` boolean to set Switch default state
Use `disabled` to disable Switch
USe `small` to show small version of Switch
Use `handleChangeCheckbox` as callback function to get changed status of Switch
### Tips