We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b683b8 commit 2222c64Copy full SHA for 2222c64
src/hooks/useSearchConfig.ts
@@ -1,13 +1,6 @@
1
import type { SearchConfig, DefaultOptionType, SelectProps } from '@/Select';
2
import * as React from 'react';
3
-const legacySearchProps = [
4
- 'filterOption',
5
- 'searchValue',
6
- 'optionFilterProp',
7
- 'filterSort',
8
- 'onSearch',
9
- 'autoClearSearchValue',
10
-];
+
11
// Convert `showSearch` to unique config
12
export default function useSearchConfig(
13
showSearch: boolean | SearchConfig<DefaultOptionType> | undefined,
0 commit comments