--- order: 8 title: zh-CN: 右键菜单 en-US: Context Menu --- ## zh-CN 默认是移入触发菜单,可以点击鼠标右键触发。 ## en-US The default trigger mode is `hover`, you can change it to `contextMenu`. ```jsx import { Menu, Dropdown } from 'antd'; const menu = ( 1st menu item 2nd menu item 3rd menu item ); ReactDOM.render(
Right Click on here
, mountNode, ); ``` ```css .site-dropdown-context-menu { background: #f7f7f7; color: #777; } ```