doc(modal): overlay-style

This commit is contained in:
07akioni 2020-04-02 15:41:16 +08:00
parent 026870c1d6
commit 749142933a
2 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ preset-confirm-slot
|show|`boolean`|`false`||
|mask-closable|`boolean`|`true`|Whether to emit `hide` event when click mask.|
|preset|`'card' \| 'confirm'`|`null`||
|overlay-style|`object`|`null`|The content style when use `preset`.|
### Modal with Preset Card
See [Card props](n-card#Props)

View File

@ -27,6 +27,7 @@ dark4-debug
|show|`boolean`|`false`||
|mask-closable|`boolean`|`true`|点击遮罩时是否发出 `hide` 事件|
|preset|`'card' \| 'confirm'`|`null`||
|overlay-style|`object`|`null`|当使用 `preset` 时候内部内容的样式|
### ModalCard 预设)
参考 [Card props](n-card#Props)