mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-22 07:50:36 +01:00
chore(components): add @IconifyIcon tag on icon properties (#3445)
This commit is contained in:
@@ -26,11 +26,18 @@ export interface SwitchProps extends Pick<SwitchRootProps, 'disabled' | 'id' | '
|
||||
/**
|
||||
* The icon when the `loading` prop is `true`.
|
||||
* @defaultValue appConfig.ui.icons.loading
|
||||
* @IconifyIcon
|
||||
*/
|
||||
loadingIcon?: string
|
||||
/** Display an icon when the switch is checked. */
|
||||
/**
|
||||
* Display an icon when the switch is checked.
|
||||
* @IconifyIcon
|
||||
*/
|
||||
checkedIcon?: string
|
||||
/** Display an icon when the switch is unchecked. */
|
||||
/**
|
||||
* Display an icon when the switch is unchecked.
|
||||
* @IconifyIcon
|
||||
*/
|
||||
uncheckedIcon?: string
|
||||
label?: string
|
||||
description?: string
|
||||
|
||||
Reference in New Issue
Block a user