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

29 lines
426 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.
2017-02-13 10:55:53 +08:00
````jsx
2016-02-21 14:48:14 +08:00
import { Spin, Alert } from 'antd';
2016-02-19 20:20:45 +08:00
ReactDOM.render(
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"
/>
2018-06-27 15:55:04 +08:00
</Spin>,
mountNode);
2016-02-19 20:20:45 +08:00
````