mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-19 22:41:42 +01:00
chore(components): add @IconifyIcon tag on icon properties (#3445)
This commit is contained in:
@@ -47,11 +47,13 @@ export interface SelectMenuProps<T extends MaybeArrayOfArrayItem<I>, I extends M
|
||||
/**
|
||||
* The icon displayed to open the menu.
|
||||
* @defaultValue appConfig.ui.icons.chevronDown
|
||||
* @IconifyIcon
|
||||
*/
|
||||
trailingIcon?: string
|
||||
/**
|
||||
* The icon displayed when an item is selected.
|
||||
* @defaultValue appConfig.ui.icons.check
|
||||
* @IconifyIcon
|
||||
*/
|
||||
selectedIcon?: string
|
||||
/**
|
||||
@@ -62,6 +64,7 @@ export interface SelectMenuProps<T extends MaybeArrayOfArrayItem<I>, I extends M
|
||||
/**
|
||||
* Display an arrow alongside the menu.
|
||||
* @defaultValue false
|
||||
* @IconifyIcon
|
||||
*/
|
||||
arrow?: boolean | Omit<ComboboxArrowProps, 'as' | 'asChild'>
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user