mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
update trigger button in dropdown demo
This commit is contained in:
parent
b74f6edacd
commit
d80fc6d7d6
@ -22,7 +22,7 @@ var menu = <Menu>
|
||||
|
||||
React.render(
|
||||
<Dropdown overlay={menu}>
|
||||
<button className="ant-btn ant-btn-default">
|
||||
<button className="ant-btn ant-btn-menu">
|
||||
某按钮 <i className="anticon anticon-down"></i>
|
||||
</button>
|
||||
</Dropdown>
|
||||
|
@ -21,7 +21,7 @@ var menu = <Menu onClick={onClick}>
|
||||
|
||||
React.render(
|
||||
<Dropdown overlay={menu}>
|
||||
<button className="ant-btn ant-btn-default">
|
||||
<button className="ant-btn ant-btn-menu">
|
||||
鼠标移入,点击菜单 <i className="anticon anticon-down"></i>
|
||||
</button>
|
||||
</Dropdown>
|
||||
|
@ -23,7 +23,7 @@ var menu = <Menu>
|
||||
|
||||
React.render(
|
||||
<Dropdown overlay={menu}>
|
||||
<button className="ant-btn ant-btn-default">
|
||||
<button className="ant-btn ant-btn-menu">
|
||||
鼠标移入 <i className="anticon anticon-down"></i>
|
||||
</button>
|
||||
</Dropdown>
|
||||
|
@ -23,12 +23,12 @@ var menu = <Menu>
|
||||
|
||||
React.render(<div>
|
||||
<Dropdown overlay={menu} trigger="click">
|
||||
<button className="ant-btn ant-btn-primary">
|
||||
<button className="ant-btn ant-btn-primary ant-btn-menu">
|
||||
点击触发 <i className="anticon anticon-down"></i>
|
||||
</button>
|
||||
</Dropdown>
|
||||
<Dropdown overlay={menu}>
|
||||
<button className="ant-btn ant-btn-default">
|
||||
<button className="ant-btn ant-btn-menu">
|
||||
鼠标移入 <i className="anticon anticon-down"></i>
|
||||
</button>
|
||||
</Dropdown>
|
||||
|
Loading…
Reference in New Issue
Block a user