Skip to content

Commit

Permalink
docs(pro:search): add size description to documentation (#1683)
Browse files Browse the repository at this point in the history
  • Loading branch information
sallerli1 committed Sep 11, 2023
1 parent 8faddc1 commit 4e18bdb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/pro/search/docs/Api.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
| `overlayContainer` | 自定义浮层容器节点 | `string \| HTMLElement \| (trigger?: Element) => string \| HTMLElement` | - || - |
| `placeholder` | 默认文本 | `string` | - | - | - |
| `searchFields` | 搜索选项 | `SearchField[]` | - | - | 用于配置支持那些搜索条件 |
| `size` | 尺寸 | `'md' \| 'sm'` | `'md'` || - |
| `onChange` | 搜索条件改变之后的回调 | `(value: searchValue[] \| undefined, oldValue: searchValue[] \| undefined) => void` | - | - | - |
| `onClear` | 清除搜索条件的回调 | `() => void` | - | - | - |
| `onItemRemove` | 搜索条件删除时的回调 | `(item: SearchValue) => void` | - | - | - |
Expand Down

0 comments on commit 4e18bdb

Please sign in to comment.