docs(dialog): api table

This commit is contained in:
07akioni 2021-06-13 19:10:58 +08:00
parent 1720f232cf
commit 9450e72956
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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` | 不填对应的按钮不会出现 |