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

View File

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

View File

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

View File

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