Format Demo
@ -7,7 +7,7 @@
---
````jsx
var Alert = require('antd/lib/alert');
var Alert = antd.Alert;
React.render(<Alert message="成功提示的文案" type="success" />
, document.getElementById('components-alert-demo-basic'));
var onClose = function(e) {
console.log(e, '我要被关闭啦!');
var link = <a href="javascript:;">不再提醒</a>
React.render(
React.render(<div>
<Alert message="成功提示的文案"
<Alert message="成功提示的文案" type="success" />
var notification = require('antd/lib/notification');
var notification = antd.Notification;
var openNotification = function() {
notification.open({
var args = {
var close = function() {
console.log("我被默认的关闭按钮关闭了!");
var close = function(){
console.log('我被默认的关闭按钮关闭了!');
var openNotificationWithIcon = function(type) {
return function(){