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.
|
|
|
---
|
|
|
|
order: 3
|
|
|
|
title: 含有辅助性文字介绍
|
|
|
|
---
|
|
|
|
|
|
|
|
含有辅助性文字介绍的警告提示。
|
|
|
|
|
|
|
|
````jsx
|
|
|
|
import { Alert } from 'antd';
|
|
|
|
|
|
|
|
ReactDOM.render(<div>
|
|
|
|
<Alert message="成功提示的文案"
|
|
|
|
description="成功提示的辅助性文字介绍成功提示的辅助性文字介绍成功提示的辅助性文字介绍成功提示的辅助性文字介绍"
|
|
|
|
type="success"
|
|
|
|
/>
|
|
|
|
<Alert message="消息提示的文案"
|
|
|
|
description="消息提示的辅助性文字介绍消息提示的辅助性文字介绍消息提示的辅助性文字介绍"
|
|
|
|
type="info"
|
|
|
|
/>
|
|
|
|
<Alert
|
|
|
|
message="警告提示的文案"
|
|
|
|
description="警告提示的辅助性文字介绍警告提示的辅助性文字介绍"
|
|
|
|
type="warning"
|
|
|
|
/>
|
|
|
|
<Alert
|
|
|
|
message="错误提示的文案"
|
|
|
|
description="错误提示的辅助性文字介绍错误提示的辅助性文字介绍错误提示的辅助性文字介绍错误提示的辅助性文字介绍错误提示的辅助性文字介绍错误提示的辅助性文字介绍"
|
|
|
|
type="error"
|
|
|
|
/>
|
|
|
|
</div>, mountNode);
|
|
|
|
````
|