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.
size
1 parent 8faddc1 commit 4e18bdbCopy full SHA for 4e18bdb
packages/pro/search/docs/Api.zh.md
@@ -14,6 +14,7 @@
14
| `overlayContainer` | 自定义浮层容器节点 | `string \| HTMLElement \| (trigger?: Element) => string \| HTMLElement` | - | ✅ | - |
15
| `placeholder` | 默认文本 | `string` | - | - | - |
16
| `searchFields` | 搜索选项 | `SearchField[]` | - | - | 用于配置支持那些搜索条件 |
17
+| `size` | 尺寸 | `'md' \| 'sm'` | `'md'` | ✅ | - |
18
| `onChange` | 搜索条件改变之后的回调 | `(value: searchValue[] \| undefined, oldValue: searchValue[] \| undefined) => void` | - | - | - |
19
| `onClear` | 清除搜索条件的回调 | `() => void` | - | - | - |
20
| `onItemRemove` | 搜索条件删除时的回调 | `(item: SearchValue) => void` | - | - | - |
0 commit comments