UNPKG

@navinc/base-react-components

Version:
12 lines (7 loc) 342 B
# 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.