You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.2 KiB
Markdown
37 lines
1.2 KiB
Markdown
10 years ago
|
# 含有辅助性文字介绍
|
||
|
|
||
|
- order: 2
|
||
|
|
||
|
含有辅助性文字介绍的警告提示。
|
||
|
|
||
|
---
|
||
|
|
||
|
````jsx
|
||
|
var Alert = require('antd/lib/alert');
|
||
|
|
||
|
React.render(
|
||
|
<div>
|
||
|
<Alert
|
||
|
message="警告提示的文案"
|
||
|
description="警告提示的辅助性文字介绍警告提示的辅助性文字介绍警告提示的辅助性文字介绍警告提示的辅助性文字介绍"
|
||
|
type="success"
|
||
|
/>
|
||
|
<Alert
|
||
|
message="警告提示的文案"
|
||
|
description="警告提示的辅助性文字介绍警告提示的辅助性文字介绍警告提示的辅助性文字介绍警告提示的辅助性文字介绍警告提示的辅助性文字介绍"
|
||
|
type="info"
|
||
|
/>
|
||
|
<Alert
|
||
|
message="警告提示的文案"
|
||
|
description="警告提示的辅助性文字介绍"
|
||
|
type="warn"
|
||
|
/>
|
||
|
<Alert
|
||
|
message="警告提示的文案"
|
||
|
description="警告提示的辅助性文字介绍警告提示的辅助性文字介绍警告提示的辅助性文字介绍警告提示的辅助性文字介绍警告提示的辅助性文字介绍警告提示的辅助性文字介绍警告提示的辅助性文字介绍"
|
||
|
type="error"
|
||
|
/>
|
||
|
</div>,
|
||
|
document.getElementById('components-alert-demo-description'));
|
||
|
````
|