mirror of
https://github.com/shadcn-ui/ui.git
synced 2026-06-27 06:34:12 +00:00
12 lines
386 B
TypeScript
12 lines
386 B
TypeScript
import { Field, FieldLabel } from "@/styles/base-nova/ui/field"
|
|
import { Switch } from "@/styles/base-nova/ui/switch"
|
|
|
|
export function SwitchDisabled() {
|
|
return (
|
|
<Field orientation="horizontal" data-disabled className="w-fit">
|
|
<Switch id="switch-disabled-unchecked" disabled />
|
|
<FieldLabel htmlFor="switch-disabled-unchecked">Disabled</FieldLabel>
|
|
</Field>
|
|
)
|
|
}
|