diff --git a/components/image/PreviewGroup.tsx b/components/image/PreviewGroup.tsx index 3eb56d0347..05004a051e 100644 --- a/components/image/PreviewGroup.tsx +++ b/components/image/PreviewGroup.tsx @@ -3,6 +3,7 @@ import LeftOutlined from '@ant-design/icons/LeftOutlined'; import RightOutlined from '@ant-design/icons/RightOutlined'; import RotateLeftOutlined from '@ant-design/icons/RotateLeftOutlined'; import RotateRightOutlined from '@ant-design/icons/RotateRightOutlined'; +import SwapOutlined from '@ant-design/icons/SwapOutlined'; import ZoomInOutlined from '@ant-design/icons/ZoomInOutlined'; import ZoomOutOutlined from '@ant-design/icons/ZoomOutOutlined'; import RcImage from 'rc-image'; @@ -22,6 +23,8 @@ export const icons = { close: , left: , right: , + flipX: , + flipY: , }; const InternalPreviewGroup: React.FC = ({ diff --git a/components/image/__tests__/__snapshots__/index.test.tsx.snap b/components/image/__tests__/__snapshots__/index.test.tsx.snap index 6fb62e6468..2207aaeeda 100644 --- a/components/image/__tests__/__snapshots__/index.test.tsx.snap +++ b/components/image/__tests__/__snapshots__/index.test.tsx.snap @@ -178,6 +178,53 @@ exports[`Image Default Group preview props 1`] = ` +
  • + + + +
  • +
  • + + + +
  • diff --git a/package.json b/package.json index c508f7264b..cce10ac8f8 100644 --- a/package.json +++ b/package.json @@ -126,7 +126,7 @@ "rc-drawer": "~6.1.1", "rc-dropdown": "~4.0.0", "rc-field-form": "~1.27.0", - "rc-image": "~5.13.0", + "rc-image": "~5.15.1", "rc-input": "~0.2.1", "rc-input-number": "~7.4.0", "rc-mentions": "~2.0.0",