Back to Component Browser
Switch
Quartzlib/quartz/components/Switch/index.ts
Preview
Import
import { Switch } from '@/lib/quartz';Props (4)
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| description | string | optional | — | A description of the `<Switch>`. Use this in addition to the "`label`" if more explanation is helpful / needed. |
| checkedBackground | string | optional | — | — |
| ref | Ref<HTMLInputElement> | optional | — | Allows getting a ref to the component instance.... |
| key | Key | optional | — | — |
Usage
Not used in any projects yet.