diff --git a/src/dialog/Dialog.tsx b/src/dialog/Dialog.tsx index 2016ce1139..2b6aed9f19 100644 --- a/src/dialog/Dialog.tsx +++ b/src/dialog/Dialog.tsx @@ -37,6 +37,8 @@ const Dialog = forwardRef((originalProps, ref) => { const [local] = useLocaleReceiver('dialog'); const { + className, + dialogClassName, style, width, mode, @@ -192,7 +194,7 @@ const Dialog = forwardRef((originalProps, ref) => {
((originalProps, ref) => { document.body */ @@ -156,12 +161,12 @@ export interface DialogOptions extends Omit { */ attach?: AttachNode; /** - * 弹框类名,示例:'t-class-dialog-first t-class-dialog-second' + * ctx 弹框顶层元素类名,示例:'t-class-dialog-ctx-first t-class-dialog-ctx-second' * @default '' */ className?: string; /** - * 弹框 style 属性,输入 [CSSStyleDeclaration.cssText](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/cssText) + * 弹框顶层元素 style 属性,输入 [CSSStyleDeclaration.cssText](https://developer.mozilla.org/en-US/docs/Web/API/CSSStyleDeclaration/cssText) */ style?: Styles; }