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

24 lines
276 B
Markdown
Raw Normal View History

2016-03-31 09:40:55 +08:00
---
order: 0
title:
zh-CN: 基本用法
en-US: basic Usage
2016-03-31 09:40:55 +08:00
---
2015-10-31 02:00:03 +08:00
## zh-CN
2015-10-31 02:00:03 +08:00
一个简单的 loading 状态。
## en-US
A simple loading status.
```tsx
2015-10-31 02:00:03 +08:00
import { Spin } from 'antd';
2022-05-21 22:14:15 +08:00
import React from 'react';
2015-10-31 02:00:03 +08:00
const App: React.FC = () => <Spin />;
export default App;
2019-05-07 14:57:32 +08:00
```