Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@ant-design/icons": "^4.2.2",
"@babel/runtime": "^7.11.2",
"classnames": "^2.2.6",
"rc-dialog": "^8.1.0",
"rc-dialog": "^8.3.2",
"rc-util": "^5.0.6"
},
"devDependencies": {
Expand Down
3 changes: 1 addition & 2 deletions src/Preview.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import * as React from 'react';
import Dialog from 'rc-dialog';
import IDialogPropTypes from 'rc-dialog/lib/IDialogPropTypes';
import Dialog, { DialogProps as IDialogPropTypes } from 'rc-dialog';
import RotateLeftOutlined from '@ant-design/icons/RotateLeftOutlined';
import RotateRightOutlined from '@ant-design/icons/RotateRightOutlined';
import ZoomInOutlined from '@ant-design/icons/ZoomInOutlined';
Expand Down
4 changes: 2 additions & 2 deletions tests/__snapshots__/basic.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ exports[`Basic snapshot 1`] = `
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
visible={false}
>
<Component
<Dialog
afterClose={[Function]}
aria-hidden={true}
closable={false}
Expand All @@ -46,7 +46,7 @@ exports[`Basic snapshot 1`] = `
<PortalWrapper
visible={false}
/>
</Component>
</Dialog>
</Preview>
</Image>
`;