From 973fa1a5ac9cee857bda6515e5e3881277093901 Mon Sep 17 00:00:00 2001 From: ve <52314078+vaebe@users.noreply.github.com> Date: Thu, 19 Dec 2024 20:23:36 +0800 Subject: [PATCH] docs(components): [message-box] add description of props modalClass (#17843) --- docs/en-US/component/message-box.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/en-US/component/message-box.md b/docs/en-US/component/message-box.md index d9f07bf8e8..b4749e6bce 100644 --- a/docs/en-US/component/message-box.md +++ b/docs/en-US/component/message-box.md @@ -168,6 +168,7 @@ The corresponding methods are: `ElMessageBox`, `ElMessageBox.alert`, `ElMessageB | icon | custom icon component, overrides `type` | ^[string] / ^[Component] | '' | | customClass | custom class name for MessageBox | ^[string] | '' | | customStyle | custom inline style for MessageBox | ^[CSSProperties] | {} | +| modalClass | custom class names for mask | string | — | | callback | MessageBox closing callback if you don't prefer Promise | ^[Function]`(value: string, action: Action) => any \| (action: Action) => any` | null | | showClose | whether to show close icon of MessageBox | ^[boolean] | true | | beforeClose | callback before MessageBox closes, and it will prevent MessageBox from closing | ^[Function]`(action: Action, instance: MessageBoxState, done: () => void) => void` | null |