2016-03-31 09:40:55 +08:00
|
|
|
---
|
|
|
|
order: 0
|
2019-01-04 23:35:01 +08:00
|
|
|
title:
|
2016-07-21 09:51:04 +08:00
|
|
|
zh-CN: 基本用法
|
|
|
|
en-US: basic Usage
|
2016-03-31 09:40:55 +08:00
|
|
|
---
|
2015-10-31 02:00:03 +08:00
|
|
|
|
2016-07-21 09:51:04 +08:00
|
|
|
## zh-CN
|
|
|
|
|
2015-10-31 02:00:03 +08:00
|
|
|
一个简单的 loading 状态。
|
|
|
|
|
2016-07-21 09:51:04 +08:00
|
|
|
## en-US
|
|
|
|
|
|
|
|
A simple loading status.
|
|
|
|
|
2022-04-08 22:55:42 +08:00
|
|
|
```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
|
|
|
|
2022-05-19 09:46:26 +08:00
|
|
|
const App: React.FC = () => <Spin />;
|
|
|
|
|
|
|
|
export default App;
|
2019-05-07 14:57:32 +08:00
|
|
|
```
|