mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 06:09:34 +08:00
273 B
273 B
基本
- order: 0
最简单的用法。
var Alert = require('antd/lib/alert');
React.render(
<div>
<Alert
description="警告提示的文案"
type="success"
/>
</div>,
document.getElementById('components-alert-demo-basic'));