JSON Schema Form API / @xunserver-jsf/shadcn / ShadcnSwitchProps
Interface: ShadcnSwitchProps
Defined in: adapter/shadcn/src/components.ts:41
Extends
ShadcnControlAriaProps
Properties
aria-describedby?
readonlyoptionalaria-describedby?:string
Defined in: adapter/shadcn/src/components.ts:8
Inherited from
ShadcnControlAriaProps.aria-describedby
aria-invalid?
readonlyoptionalaria-invalid?:boolean
Defined in: adapter/shadcn/src/components.ts:9
Inherited from
ShadcnControlAriaProps.aria-invalid
aria-labelledby?
readonlyoptionalaria-labelledby?:string
Defined in: adapter/shadcn/src/components.ts:7
Inherited from
ShadcnControlAriaProps.aria-labelledby
aria-required?
readonlyoptionalaria-required?:boolean
Defined in: adapter/shadcn/src/components.ts:10
Inherited from
ShadcnControlAriaProps.aria-required
checked?
readonlyoptionalchecked?:boolean
Defined in: adapter/shadcn/src/components.ts:42
className?
readonlyoptionalclassName?:string
Defined in: adapter/shadcn/src/components.ts:44
disabled?
readonlyoptionaldisabled?:boolean
Defined in: adapter/shadcn/src/components.ts:6
Inherited from
ShadcnControlAriaProps.disabled
id?
readonlyoptionalid?:string
Defined in: adapter/shadcn/src/components.ts:5
Inherited from
ShadcnControlAriaProps.id
onCheckedChange?
readonlyoptionalonCheckedChange?: (checked) =>void
Defined in: adapter/shadcn/src/components.ts:43
Parameters
checked
boolean
Returns
void