mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-19 22:41:42 +01:00
chore(components): improve tsdoc
This commit is contained in:
@@ -15,6 +15,9 @@ const selectMenu = tv({ extend: tv(theme), ...(appConfigSelectMenu.ui?.selectMen
|
||||
|
||||
export interface SelectMenuItem {
|
||||
label?: string
|
||||
/**
|
||||
* @IconifyIcon
|
||||
*/
|
||||
icon?: string
|
||||
avatar?: AvatarProps
|
||||
chip?: ChipProps
|
||||
@@ -40,8 +43,17 @@ export interface SelectMenuProps<T extends MaybeArrayOfArrayItem<I>, I extends M
|
||||
* @defaultValue true
|
||||
*/
|
||||
searchInput?: boolean | InputProps
|
||||
/**
|
||||
* @defaultValue 'primary'
|
||||
*/
|
||||
color?: SelectMenuVariants['color']
|
||||
/**
|
||||
* @defaultValue 'outline'
|
||||
*/
|
||||
variant?: SelectMenuVariants['variant']
|
||||
/**
|
||||
* @defaultValue 'md'
|
||||
*/
|
||||
size?: SelectMenuVariants['size']
|
||||
required?: boolean
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user