mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-05 23:46:28 +08:00
parent
b740d86bbf
commit
e5a57ff60a
@ -20,7 +20,7 @@ export interface AbstractSelectProps {
|
||||
dropdownStyle?: React.CSSProperties;
|
||||
dropdownMenuStyle?: React.CSSProperties;
|
||||
onSearch?: (value: string) => any;
|
||||
filterOption?: boolean | ((inputValue: string, option: Object) => any);
|
||||
filterOption?: boolean | ((inputValue: string, option: React.ReactElement<OptionProps>) => any);
|
||||
}
|
||||
|
||||
export interface LabeledValue {
|
||||
@ -56,10 +56,11 @@ export interface OptionProps {
|
||||
disabled?: boolean;
|
||||
value?: any;
|
||||
title?: string;
|
||||
children?: React.ReactNode;
|
||||
}
|
||||
|
||||
export interface OptGroupProps {
|
||||
label?: string | React.ReactElement<any>;
|
||||
label?: React.ReactNode;
|
||||
}
|
||||
|
||||
export interface SelectContext {
|
||||
|
Loading…
Reference in New Issue
Block a user