mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-28 19:18:40 +08:00
15 lines
214 B
Markdown
15 lines
214 B
Markdown
# 基本
|
|
|
|
- order: 0
|
|
|
|
最简单的用法,适用于简短的警告提示。
|
|
|
|
---
|
|
|
|
````jsx
|
|
import { Alert } from 'antd';
|
|
|
|
ReactDOM.render(<Alert message="成功提示的文案" type="success" />
|
|
, mountNode);
|
|
````
|