@iqvizyonui/react-switch
v9.7.6
Published
Iqvizyon UI React Switch component.
Readme
@iqvizyonui/react-switch
Switch components for Iqvizyon UI React
The Switch control enables users to trigger an option on or off through interacting with the component.
Usage
To import Switch:
import { Switch } from '@iqvizyonui/react-components';Examples
<Switch />
<Switch defaultChecked required />
<Switch checked onChange={onChange} />
<Switch disabled />
<Switch label="Enable dark mode" labelPosition="after" />See Iqvizyon UI Storybook for more detailed usage examples.
Alternatively, run Storybook locally with:
yarn start- Select
react-switchfrom the list.
Specification
See SPEC.md.
