mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
2cdf586291
* chore: fix lint * chore: fix lint * test: fix 16 * fix: lint
20 lines
627 B
TypeScript
20 lines
627 B
TypeScript
import React from 'react';
|
|
import { Image } from 'antd';
|
|
|
|
const App: React.FC = () => (
|
|
<Image.PreviewGroup
|
|
items={[
|
|
'https://gw.alipayobjects.com/zos/antfincdn/LlvErxo8H9/photo-1503185912284-5271ff81b9a8.webp',
|
|
'https://gw.alipayobjects.com/zos/antfincdn/cV16ZqzMjW/photo-1473091540282-9b846e7965e3.webp',
|
|
'https://gw.alipayobjects.com/zos/antfincdn/x43I27A55%26/photo-1438109491414-7198515b166b.webp',
|
|
]}
|
|
>
|
|
<Image
|
|
width={200}
|
|
src="https://gw.alipayobjects.com/zos/antfincdn/LlvErxo8H9/photo-1503185912284-5271ff81b9a8.webp"
|
|
/>
|
|
</Image.PreviewGroup>
|
|
);
|
|
|
|
export default App;
|