mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(Dialog): fix theme optional value (#8113)
This commit is contained in:
parent
c9abb07a7a
commit
9c3dbfc0b6
@ -142,7 +142,7 @@ export default {
|
||||
| width | Dialog width | _number \| string_ | `320px` |
|
||||
| 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` |
|
||||
| theme | theme style,can be set to `round-button` | _string_ | `default` |
|
||||
| className | Custom className | _string \| Array \| object_ | - |
|
||||
| showConfirmButton | Whether to show confirm button | _boolean_ | `true` |
|
||||
| showCancelButton | Whether to show cancel button | _boolean_ | `false` |
|
||||
|
@ -177,7 +177,7 @@ export default {
|
||||
| width | 弹窗宽度,默认单位为`px` | _number \| string_ | `320px` |
|
||||
| message | 文本内容,支持通过`\n`换行 | _string_ | - |
|
||||
| messageAlign | 内容对齐方式,可选值为`left` `right` | _string_ | `center` |
|
||||
| theme | 样式风格,可选值为`round` | _string_ | `default` |
|
||||
| theme | 样式风格,可选值为 `round-button` | _string_ | `default` |
|
||||
| className | 自定义类名 | _string \| Array \| object_ | - |
|
||||
| showConfirmButton | 是否展示确认按钮 | _boolean_ | `true` |
|
||||
| showCancelButton | 是否展示取消按钮 | _boolean_ | `false` |
|
||||
|
Loading…
x
Reference in New Issue
Block a user