mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 23:40:39 +01:00
chore(components): improve tsdoc
This commit is contained in:
@@ -19,7 +19,13 @@ export interface SwitchProps extends Pick<SwitchRootProps, 'disabled' | 'id' | '
|
||||
* @defaultValue 'div'
|
||||
*/
|
||||
as?: any
|
||||
/**
|
||||
* @defaultValue 'primary'
|
||||
*/
|
||||
color?: SwitchVariants['color']
|
||||
/**
|
||||
* @defaultValue 'md'
|
||||
*/
|
||||
size?: SwitchVariants['size']
|
||||
/** When `true`, the loading icon will be displayed. */
|
||||
loading?: boolean
|
||||
|
||||
Reference in New Issue
Block a user