chore(components): add @IconifyIcon tag on icon properties (#3445)

This commit is contained in:
Romain Hamel
2025-03-04 10:40:13 +01:00
committed by GitHub
parent ccbd89c908
commit fb4e05c65f
24 changed files with 106 additions and 6 deletions

View File

@@ -43,17 +43,20 @@ export interface DropdownMenuProps<T> extends Omit<DropdownMenuRootProps, 'dir'>
/**
* The icon displayed when an item is checked.
* @defaultValue appConfig.ui.icons.check
* @IconifyIcon
*/
checkedIcon?: string
/**
* The icon displayed when an item is loading.
* @defaultValue appConfig.ui.icons.loading
* @IconifyIcon
*/
loadingIcon?: string
/**
* The icon displayed when the item is an external link.
* Set to `false` to hide the external icon.
* @defaultValue appConfig.ui.icons.external
* @IconifyIcon
*/
externalIcon?: boolean | string
/**