update trigger button in dropdown demo

This commit is contained in:
afc163 2015-06-17 14:44:24 +08:00
parent b74f6edacd
commit d80fc6d7d6
4 changed files with 5 additions and 5 deletions

View File

@ -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>

View File

@ -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>

View File

@ -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>

View File

@ -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>