# 带有Icon的通知提醒框 - order: 2 通知提醒框左侧有图标。 --- ````jsx import { Button, notification } from 'antd'; const openNotificationWithIcon = function(type) { return function(){ notification[type]({ message: '这是标题', description: '这是提示框的文案这是提示框示框的文案这是提示是提示框的文案这是提示框的文案' }); }; }; ReactDOM.render(
, document.getElementById('components-notification-demo-with-icon')); ````