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. All the properties can be modified dynamically.
| Name | Type | Description | | Name | Type | Description |
| --- | --- | --- | --- | | --- | --- | --- |
| bordered | `boolean` | | | bordered | `boolean` | |
| closable | `boolean` | | | closable | `boolean` | |
| content | `string \| (() => VNodeChild)` | Can be a render function. | | content | `string \| (() => VNodeChild)` | Can be a render function. |
| icon-placement | `'left' \| 'top'` | `'left'` | | | icon-placement | `'left' \| 'top'` | |
| icon | `() => VNodeChild` | Render function. | | icon | `() => VNodeChild` | Render function. |
| loading | `boolean` | | | loading | `boolean` | |
| negative-text | `string` | Corresponding button won't show if not set. | | negative-text | `string` | Corresponding button won't show if not set. |

View File

@ -78,11 +78,11 @@ use-component
下列属性都可以被动态修改。 下列属性都可以被动态修改。
| 名称 | 类型 | 说明 | | 名称 | 类型 | 说明 |
| --- | --- | --- | --- | | --- | --- | --- |
| bordered | `boolean` | | | bordered | `boolean` | |
| closable | `boolean` | | | closable | `boolean` | |
| content | `string \| (() => VNodeChild)` | 可以是 render 函数 | | content | `string \| (() => VNodeChild)` | 可以是 render 函数 |
| icon-placement | `'left' \| 'top'` | `'left'` | | | icon-placement | `'left' \| 'top'` | |
| icon | `() => VNodeChild` | 需要是 render 函数 | | icon | `() => VNodeChild` | 需要是 render 函数 |
| loading | `boolean` | | | loading | `boolean` | |
| negative-text | `string` | 不填对应的按钮不会出现 | | negative-text | `string` | 不填对应的按钮不会出现 |