--- order: 5 title: zh-CN: 位置 en-US: Placement --- ## zh-CN 可以设置通知从右上角、右下角、左下角、左上角弹出。 ## en-US A notification box can pop up from `topRight` or `bottomRight` or `bottomLeft` or `topLeft`. ````jsx import { Button, Select, notification } from 'antd'; const { Option } = Select; const options = ['topLeft', 'topRight', 'bottomLeft', 'bottomRight']; const openNotification = () => { notification.open({ 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 ); ````