mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-02-17 13:20:52 +08:00
docs(dropdown): Update dropdown docs. (#2372)
This commit is contained in:
parent
a8777589a9
commit
6125147346
@ -70,8 +70,8 @@ option-props
|
||||
|
||||
#### DropdownRenderOption Type
|
||||
|
||||
| 属性 | 类型 | 说明 |
|
||||
| ------ | ------------------ | -------------------------------------- |
|
||||
| type | `'render'` | The type of the DropdownRenderOption. |
|
||||
| key | `string \| number` | Render option ID (should be unique). |
|
||||
| render | `() => VNodeChild` | Render function of the option content. |
|
||||
| 属性 | 类型 | 说明 |
|
||||
| ------ | ------------------ | --------------------------- |
|
||||
| type | `'render'` | DropdownRenderOption 的类型 |
|
||||
| key | `string \| number` | 渲染选项 ID(应该是唯一的) |
|
||||
| render | `() => VNodeChild` | 选项内容的渲染功能 |
|
||||
|
Loading…
Reference in New Issue
Block a user