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