Merge pull request #660 from kungege/docs(tree-select)

docs(tree-select): size prop
This commit is contained in:
07akioni 2021-07-26 23:24:59 +08:00 committed by GitHub
commit 5ca9a34b5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -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. |

View File

@ -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 时的回调 |