Skip to content

Commit 81f5c8b

Browse files
author
刘欢
committed
fix: change ts
1 parent cc00ba6 commit 81f5c8b

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/Select.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ export interface SelectProps<ValueType = any, OptionType extends BaseOptionType
128128

129129
// >>> Field Names
130130
fieldNames?: FieldNames;
131+
/** @deprecated pleace use SearchConfig.onSearch */
132+
onSearch?: SearchConfig<OptionType>['onSearch'];
131133
showSearch?: boolean | SearchConfig<OptionType>;
132134
/** @deprecated pleace use SearchConfig.searchValue */
133135
searchValue?: SearchConfig<OptionType>['searchValue'];
@@ -139,9 +141,6 @@ export interface SelectProps<ValueType = any, OptionType extends BaseOptionType
139141
onDeselect?: SelectHandler<ArrayElementType<ValueType>, OptionType>;
140142
onActive?: (value: ValueType) => void;
141143

142-
/** @deprecated pleace use SearchConfig.onSearch */
143-
onSearch?: SearchConfig<OptionType>['onSearch'];
144-
tokenSeparators?: string[];
145144
// >>> Options
146145
/**
147146
* In Select, `false` means do nothing.

0 commit comments

Comments
 (0)