ant-design/components/alert/demo/basic.md
2015-07-29 10:27:31 +08:00

273 B

基本

  • order: 0

最简单的用法。


var Alert = require('antd/lib/alert');

React.render(
  <div>
    <Alert
      description="警告提示的文案"
      type="success"
    />
  </div>,
document.getElementById('components-alert-demo-basic'));