ant-design/components/image/demo/basic.md

29 lines
392 B
Markdown
Raw Normal View History

---
order: 0
title:
zh-CN: 基本用法
en-US: Basic Usage
---
## zh-CN
单击图像可以放大显示。
## en-US
Click the image to zoom in.
```tsx
import { Image } from 'antd';
2022-05-23 14:37:16 +08:00
import React from 'react';
const App: React.FC = () => (
<Image
width={200}
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
/>
);
export default App;
```