mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +08:00
15 lines
383 B
TypeScript
15 lines
383 B
TypeScript
|
import React from 'react';
|
||
|
import { Image } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Image.PreviewGroup>
|
||
|
<Image width={200} src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg" />
|
||
|
<Image
|
||
|
width={200}
|
||
|
src="https://gw.alipayobjects.com/zos/antfincdn/aPkFc8Sj7n/method-draw-image.svg"
|
||
|
/>
|
||
|
</Image.PreviewGroup>
|
||
|
);
|
||
|
|
||
|
export default App;
|