mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-13 23:59:12 +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;
|