ant-design/components/alert/demo/style.md
2015-07-30 11:20:14 +08:00

458 B

四种样式

  • order: 3

共有四种样式successinfowarnerror


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

React.render(<div>
  <Alert message="成功提示的文案" type="success" />
  <Alert message="消息提示的文案" type="info" />
  <Alert message="警告提示的文案" type="warn" />
  <Alert message="错误提示的文案" type="error" />
</div>,
document.getElementById('components-alert-demo-style'));