mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 23:40:39 +01:00
chore(components): improve JSDoc
This commit is contained in:
@@ -27,6 +27,7 @@ export interface SwitchProps extends Omit<SwitchRootProps, 'asChild' | 'checked'
|
||||
uncheckedIcon?: string
|
||||
label?: string
|
||||
description?: string
|
||||
/** The state of the switch when it is initially rendered. Use when you do not need to control its state. */
|
||||
defaultValue?: boolean
|
||||
class?: any
|
||||
ui?: Partial<typeof switchTv.slots>
|
||||
|
||||
Reference in New Issue
Block a user