mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
Fix Select Mode Type
This commit is contained in:
parent
59ec7f3b8f
commit
53c55ceaad
@ -54,7 +54,7 @@ export type SelectValue = string | string[] | number | number[] | LabeledValue |
|
|||||||
export interface SelectProps<T = SelectValue> extends AbstractSelectProps {
|
export interface SelectProps<T = SelectValue> extends AbstractSelectProps {
|
||||||
value?: T;
|
value?: T;
|
||||||
defaultValue?: T;
|
defaultValue?: T;
|
||||||
mode?: 'default' | 'multiple' | 'tags' | 'combobox' | string;
|
mode?: 'default' | 'multiple' | 'tags' | 'combobox' | undefined;
|
||||||
optionLabelProp?: string;
|
optionLabelProp?: string;
|
||||||
firstActiveValue?: string | string[];
|
firstActiveValue?: string | string[];
|
||||||
onChange?: (value: T, option: React.ReactElement<any> | React.ReactElement<any>[]) => void;
|
onChange?: (value: T, option: React.ReactElement<any> | React.ReactElement<any>[]) => void;
|
||||||
|
Loading…
Reference in New Issue
Block a user