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

29 lines
429 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-01-19 15:19:03 +08:00
````__react
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"
/>
2016-02-21 14:48:14 +08:00
</Spin>
2016-02-19 20:20:45 +08:00
, mountNode);
````