Skip to content

Commit eb6711f

Browse files
authored
feat(components): [modal] export modalProps (#5340)
1 parent a314952 commit eb6711f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/modal/Modal.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ if (canUseDocElement()) {
3434
addEventListener(document.documentElement, 'click', getClickPosition, true);
3535
}
3636

37-
const modalProps = () => ({
37+
export const modalProps = () => ({
3838
prefixCls: String,
3939
visible: { type: Boolean, default: undefined },
4040
confirmLoading: { type: Boolean, default: undefined },

0 commit comments

Comments
 (0)