From 976b0b409c0595421eaddd6a062c0004130b78cb Mon Sep 17 00:00:00 2001 From: John Date: Fri, 12 Mar 2021 14:52:35 +0800 Subject: [PATCH] feat: add `dialogStyle` prop (#3794) --- components/modal/Modal.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/modal/Modal.jsx b/components/modal/Modal.jsx index 001ec1fe2..346f3b456 100644 --- a/components/modal/Modal.jsx +++ b/components/modal/Modal.jsx @@ -85,6 +85,7 @@ const modalProps = (defaultProps = {}) => { keyboard: PropTypes.bool, wrapProps: PropTypes.object, focusTriggerAfterClose: PropTypes.bool, + dialogStyle: PropTypes.object.def(() => ({})), }; return initDefaultProps(props, defaultProps); };