[Doc] detailed Array typing

This commit is contained in:
陈嘉涵
2019-07-11 20:44:51 +08:00
parent 019c75506a
commit 2c4adff307
34 changed files with 67 additions and 66 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ export default {
| title | Title | `string` | - |
| message | Message | `string` | - |
| messageAlign | Message text aligncan be set to `left` `right` | `string` | `center` |
| className | Custom className | `string | Array | object` | - |
| className | Custom className | `any` | - |
| showConfirmButton | Whether to show confirm button | `boolean` | `true` |
| showCancelButton | Whether to show cancel button | `boolean` | `false` |
| cancelButtonText | Cancel button text | `string` | `Cancel` |
+1 -1
View File
@@ -149,7 +149,7 @@ export default {
| title | 标题 | `string` | - | - |
| message | 文本内容,支持通过`\n`换行 | `string` | - | - |
| messageAlign | 内容对齐方式,可选值为`left` `right` | `string` | `center` | 1.5.0 |
| className | 自定义类名 | `string | Array | object` | - | - |
| className | 自定义类名 | `any` | - | - |
| showConfirmButton | 是否展示确认按钮 | `boolean` | `true` | - |
| showCancelButton | 是否展示取消按钮 | `boolean` | `false` | - |
| cancelButtonText | 取消按钮文案 | `string` | `取消` | - |