chore(InputMenu/Select/SelectMenu): consistent types

This commit is contained in:
Benjamin Canac
2024-11-08 10:27:05 +01:00
parent 0ceafe1d54
commit d9822db6e8
3 changed files with 4 additions and 4 deletions

View File

@@ -83,7 +83,7 @@ export interface SelectMenuProps<T extends MaybeArrayOfArrayItem<I>, I extends M
* When `items` is an array of objects, select the field to use as the label.
* @defaultValue 'label'
*/
labelKey?: SelectItemKey<T>
labelKey?: V
items?: I
/** Highlight the ring color like a focus state. */
highlight?: boolean