mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
docs(dialog): api table
This commit is contained in:
parent
1720f232cf
commit
9450e72956
@ -77,11 +77,11 @@ use-component
|
||||
All the properties can be modified dynamically.
|
||||
|
||||
| Name | Type | Description |
|
||||
| --- | --- | --- | --- |
|
||||
| --- | --- | --- |
|
||||
| bordered | `boolean` | |
|
||||
| closable | `boolean` | |
|
||||
| content | `string \| (() => VNodeChild)` | Can be a render function. |
|
||||
| icon-placement | `'left' \| 'top'` | `'left'` | |
|
||||
| icon-placement | `'left' \| 'top'` | |
|
||||
| icon | `() => VNodeChild` | Render function. |
|
||||
| loading | `boolean` | |
|
||||
| negative-text | `string` | Corresponding button won't show if not set. |
|
||||
|
@ -78,11 +78,11 @@ use-component
|
||||
下列属性都可以被动态修改。
|
||||
|
||||
| 名称 | 类型 | 说明 |
|
||||
| --- | --- | --- | --- |
|
||||
| --- | --- | --- |
|
||||
| bordered | `boolean` | |
|
||||
| closable | `boolean` | |
|
||||
| content | `string \| (() => VNodeChild)` | 可以是 render 函数 |
|
||||
| icon-placement | `'left' \| 'top'` | `'left'` | |
|
||||
| icon-placement | `'left' \| 'top'` | |
|
||||
| icon | `() => VNodeChild` | 需要是 render 函数 |
|
||||
| loading | `boolean` | |
|
||||
| negative-text | `string` | 不填对应的按钮不会出现 |
|
||||
|
Loading…
Reference in New Issue
Block a user