diff --git a/src/IDialogPropTypes.tsx b/src/IDialogPropTypes.tsx index 6dce60e1..fbf1fa6f 100644 --- a/src/IDialogPropTypes.tsx +++ b/src/IDialogPropTypes.tsx @@ -38,7 +38,7 @@ interface IDialogPropTypes { getContainer?: IStringOrHtmlElement | (() => IStringOrHtmlElement) | false; closeIcon?: ReactNode; forceRender?: boolean; - modalRender?: React.ComponentType, HTMLDivElement>>; + modalRender?: React.ComponentType<{ className: string, children: ReactNode }>; // https://github.com/ant-design/ant-design/issues/19771 // https://github.com/react-component/dialog/issues/95 focusTriggerAfterClose?: boolean;