mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 13:18:04 +08:00
15 lines
415 B
TypeScript
15 lines
415 B
TypeScript
|
import React from 'react';
|
||
|
import { Image } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<Image
|
||
|
width={200}
|
||
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png?x-oss-process=image/blur,r_50,s_50/quality,q_1/resize,m_mfit,h_200,w_200"
|
||
|
preview={{
|
||
|
src: 'https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png',
|
||
|
}}
|
||
|
/>
|
||
|
);
|
||
|
|
||
|
export default App;
|