docs: improve classname typing (#7927)
This commit is contained in:
@@ -143,7 +143,7 @@ export default {
|
||||
| message | Message | _string_ | - |
|
||||
| messageAlign | Message text align,can be set to `left` `right` | _string_ | `center` |
|
||||
| theme | theme style,can be set to `round` | _string_ | `default` |
|
||||
| className | Custom className | _any_ | - |
|
||||
| className | Custom className | _string \| Array \| object_ | - |
|
||||
| showConfirmButton | Whether to show confirm button | _boolean_ | `true` |
|
||||
| showCancelButton | Whether to show cancel button | _boolean_ | `false` |
|
||||
| cancelButtonText | Cancel button text | _string_ | `Cancel` |
|
||||
@@ -151,7 +151,7 @@ export default {
|
||||
| confirmButtonText | Confirm button text | _string_ | `Confirm` |
|
||||
| confirmButtonColor | Confirm button color | _string_ | `#ee0a24` |
|
||||
| overlay | Whether to show overlay | _boolean_ | `true` |
|
||||
| overlayClass | Custom overlay class | _string_ | - |
|
||||
| overlayClass | Custom overlay class | _string \| Array \| object_ | - |
|
||||
| overlayStyle | Custom overlay style | _object_ | - |
|
||||
| closeOnPopstate | Whether to close when popstate | _boolean_ | `true` |
|
||||
| closeOnClickOverlay | Whether to close when overlay is clicked | _boolean_ | `false` |
|
||||
|
||||
@@ -178,7 +178,7 @@ export default {
|
||||
| message | 文本内容,支持通过`\n`换行 | _string_ | - |
|
||||
| messageAlign | 内容对齐方式,可选值为`left` `right` | _string_ | `center` |
|
||||
| theme | 样式风格,可选值为`round` | _string_ | `default` |
|
||||
| className | 自定义类名 | _any_ | - |
|
||||
| className | 自定义类名 | _string \| Array \| object_ | - |
|
||||
| showConfirmButton | 是否展示确认按钮 | _boolean_ | `true` |
|
||||
| showCancelButton | 是否展示取消按钮 | _boolean_ | `false` |
|
||||
| confirmButtonText | 确认按钮文案 | _string_ | `确认` |
|
||||
@@ -186,7 +186,7 @@ export default {
|
||||
| cancelButtonText | 取消按钮文案 | _string_ | `取消` |
|
||||
| cancelButtonColor | 取消按钮颜色 | _string_ | `black` |
|
||||
| overlay | 是否展示遮罩层 | _boolean_ | `true` |
|
||||
| overlayClass | 自定义遮罩层类名 | _string_ | - |
|
||||
| overlayClass | 自定义遮罩层类名 | _string \| Array \| object_ | - |
|
||||
| overlayStyle | 自定义遮罩层样式 | _object_ | - |
|
||||
| closeOnPopstate | 是否在页面回退时自动关闭 | _boolean_ | `true` |
|
||||
| closeOnClickOverlay | 是否在点击遮罩层后关闭弹窗 | _boolean_ | `false` |
|
||||
|
||||
Reference in New Issue
Block a user