mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 04:48:02 +08:00
753c01ae18
fix antd.notification
15 lines
259 B
Markdown
15 lines
259 B
Markdown
# 基本
|
|
|
|
- order: 0
|
|
|
|
最简单的用法,适用于简短的警告提示。
|
|
|
|
---
|
|
|
|
````jsx
|
|
import { Alert } from 'antd';
|
|
|
|
ReactDOM.render(<Alert message="成功提示的文案" type="success" />
|
|
, document.getElementById('components-alert-demo-basic'));
|
|
````
|