mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 11:40:04 +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(
|
React.render(
|
||||||
<Dropdown overlay={menu}>
|
<Dropdown overlay={menu}>
|
||||||
<button className="ant-btn ant-btn-default">
|
<button className="ant-btn ant-btn-menu">
|
||||||
某按钮 <i className="anticon anticon-down"></i>
|
某按钮 <i className="anticon anticon-down"></i>
|
||||||
</button>
|
</button>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
|
@ -21,7 +21,7 @@ var menu = <Menu onClick={onClick}>
|
|||||||
|
|
||||||
React.render(
|
React.render(
|
||||||
<Dropdown overlay={menu}>
|
<Dropdown overlay={menu}>
|
||||||
<button className="ant-btn ant-btn-default">
|
<button className="ant-btn ant-btn-menu">
|
||||||
鼠标移入,点击菜单 <i className="anticon anticon-down"></i>
|
鼠标移入,点击菜单 <i className="anticon anticon-down"></i>
|
||||||
</button>
|
</button>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
|
@ -23,7 +23,7 @@ var menu = <Menu>
|
|||||||
|
|
||||||
React.render(
|
React.render(
|
||||||
<Dropdown overlay={menu}>
|
<Dropdown overlay={menu}>
|
||||||
<button className="ant-btn ant-btn-default">
|
<button className="ant-btn ant-btn-menu">
|
||||||
鼠标移入 <i className="anticon anticon-down"></i>
|
鼠标移入 <i className="anticon anticon-down"></i>
|
||||||
</button>
|
</button>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
|
@ -23,12 +23,12 @@ var menu = <Menu>
|
|||||||
|
|
||||||
React.render(<div>
|
React.render(<div>
|
||||||
<Dropdown overlay={menu} trigger="click">
|
<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>
|
点击触发 <i className="anticon anticon-down"></i>
|
||||||
</button>
|
</button>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
<Dropdown overlay={menu}>
|
<Dropdown overlay={menu}>
|
||||||
<button className="ant-btn ant-btn-default">
|
<button className="ant-btn ant-btn-menu">
|
||||||
鼠标移入 <i className="anticon anticon-down"></i>
|
鼠标移入 <i className="anticon anticon-down"></i>
|
||||||
</button>
|
</button>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
|
Loading…
Reference in New Issue
Block a user