mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-05 23:46: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 {
|
||||
value?: T;
|
||||
defaultValue?: T;
|
||||
mode?: 'default' | 'multiple' | 'tags' | 'combobox' | string;
|
||||
mode?: 'default' | 'multiple' | 'tags' | 'combobox' | undefined;
|
||||
optionLabelProp?: string;
|
||||
firstActiveValue?: string | string[];
|
||||
onChange?: (value: T, option: React.ReactElement<any> | React.ReactElement<any>[]) => void;
|
||||
|
Loading…
Reference in New Issue
Block a user