--- order: 2 title: zh-CN: 带有图标的通知提醒框 en-US: Notification with icon --- ## zh-CN 通知提醒框左侧有图标。 ## en-US A notification box with a icon at the left side. ````jsx import { Button, notification } from 'antd'; const openNotificationWithIcon = (type) => { notification[type]({ message: 'Notification Title', description: 'This is the content of the notification. This is the content of the notification. This is the content of the notification.', }); }; ReactDOM.render(
, mountNode); ````