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

32 lines
473 B
Markdown
Raw Normal View History

2016-03-31 09:40:55 +08:00
---
order: 4
2016-09-13 11:51:34 +08:00
title:
zh-CN: 自定义描述文案
2016-09-13 11:51:34 +08:00
en-US: Customized description
2016-03-31 09:40:55 +08:00
---
2016-02-19 20:20:45 +08:00
## zh-CN
2016-09-13 11:51:34 +08:00
自定义描述文案。
2016-02-19 20:20:45 +08:00
## en-US
2016-09-13 11:51:34 +08:00
Customized description content.
```tsx
2022-05-23 14:37:16 +08:00
import { Alert, Spin } from 'antd';
import React from 'react';
2016-02-19 20:20:45 +08:00
const App: React.FC = () => (
2016-09-13 11:51:34 +08:00
<Spin tip="Loading...">
2017-01-07 22:07:09 +08:00
<Alert
message="Alert message title"
description="Further details about the context of this alert."
type="info"
/>
</Spin>
2018-11-28 15:00:03 +08:00
);
export default App;
2019-05-07 14:57:32 +08:00
```