mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-01-06 12:17:13 +08:00
Merge pull request #660 from kungege/docs(tree-select)
docs(tree-select): size prop
This commit is contained in:
commit
5ca9a34b5a
@ -33,6 +33,7 @@ debug
|
||||
| multiple | `boolean` | `false` | Whether to support multiple select. |
|
||||
| options | `TreeSelectOption[]` | `[]` | Options. |
|
||||
| placeholder | `string` | `'Please Select'` | Placeholder. |
|
||||
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | Component size. |
|
||||
| value | `string \| number \| Array<string \| number> \| null>` | `undefined` | Selected key (or keys when multiple). |
|
||||
| virtual-scroll | `boolean` | `true` | Whether to enable virtual scroll. |
|
||||
| on-blur | `(e: FocusEvent) => void` | `undefined` | Callback on blur. |
|
||||
|
@ -34,6 +34,7 @@ debug
|
||||
| multiple | `boolean` | `false` | 是否支持多选 |
|
||||
| options | `TreeSelectOption[]` | `[]` | 选项 |
|
||||
| placeholder | `string` | `'请选择'` | 占位信息 |
|
||||
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | 组件尺寸 |
|
||||
| value | `string \| number \| Array<string \| number> \| null>` | `undefined` | 选中的 key |
|
||||
| virtual-scroll | `boolean` | `true` | 是否开启虚拟滚动 |
|
||||
| on-blur | `(e: FocusEvent) => void` | `undefined` | Blur 时的回调 |
|
||||
|
Loading…
Reference in New Issue
Block a user