You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
438 B

---
order: 4
title: 自定义描述文案
---
自定义描述文案,指定的 tip 文案会直接代替 `...`
````jsx
import { Spin, Alert } from 'antd';
ReactDOM.render(
<Spin tip="正在读取数据...">
<Alert message="消息提示的文案"
description="消息提示的辅助性文字介绍消息提示的辅助性文字介绍消息提示的辅助性文字介绍"
type="info" />
</Spin>
, mountNode);
````