mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-21 07:21:46 +01:00
chore(components): add @IconifyIcon tag on icon properties (#3445)
This commit is contained in:
@@ -43,17 +43,20 @@ export interface ContextMenuProps<T> extends Omit<ContextMenuRootProps, '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
|
||||
/** The content of the menu. */
|
||||
|
||||
Reference in New Issue
Block a user