mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
fix(Select): support more primitive types in value field (#4105)
This commit is contained in:
@@ -21,7 +21,7 @@ interface SelectItemBase {
|
|||||||
* @defaultValue 'item'
|
* @defaultValue 'item'
|
||||||
*/
|
*/
|
||||||
type?: 'label' | 'separator' | 'item'
|
type?: 'label' | 'separator' | 'item'
|
||||||
value?: string | number
|
value?: AcceptableValue | boolean
|
||||||
disabled?: boolean
|
disabled?: boolean
|
||||||
onSelect?(e?: Event): void
|
onSelect?(e?: Event): void
|
||||||
[key: string]: any
|
[key: string]: any
|
||||||
|
|||||||
Reference in New Issue
Block a user