@navinc/base-react-components
Version:
Nav's Pattern Library
12 lines (7 loc) • 342 B
Markdown
# Toggle
Displays a toggle switch using an html checkbox.
### Props
Optional
- **checked** (boolean): The checked state of the toggle.
- **disabled** (boolean): Prevent modifying current checked state of toggle.
- **color** (string): Custom color of toggle background when in the 'enabled' state. Defaults to theme color if not provided.