if you want to make a drop-down style in tabPane, how do you need to use tabs and dropdown together?
if you want to make a drop-down style in tabPane, how do you need to use tabs and dropdown together?
const menu = (
<Menu>
<Menu.Item>
<a target="_blank" rel="noopener noreferrer" href="http://www.alipay.com/">1st menu item</a>
</Menu.Item>
<Menu.Item>
<a target="_blank" rel="noopener noreferrer" href="http://www.taobao.com/">2nd menu item</a>
</Menu.Item>
<Menu.Item>
<a target="_blank" rel="noopener noreferrer" href="http://www.tmall.com/">3rd menu item</a>
</Menu.Item>
</Menu>
);
const dropdown = <Dropdown overlay={menu}>
<a className="ant-dropdown-link" href="-sharp">
Hover me <Icon type="down" />
</a>
</Dropdown>
you can make tabPane's tab= {dropdown}