--- order: 4 title: 带下拉框的按钮 --- 左边是按钮,右边是额外的相关功能菜单。 ````jsx import { Menu, Dropdown } from 'antd'; const DropdownButton = Dropdown.Button; function handleButtonClick(e) { console.log('click left button', e); } function handleMenuClick(e) { console.log('click', e); } const menu = (
); ReactDOM.render(