|
|
@ -37,23 +37,23 @@ const App = React.createClass({ |
|
|
|
mode="horizontal" |
|
|
|
> |
|
|
|
<Menu.Item key="mail"> |
|
|
|
<Icon type="mail" />导航一 |
|
|
|
<Icon type="mail" />Navigation One |
|
|
|
</Menu.Item> |
|
|
|
<Menu.Item key="app" disabled> |
|
|
|
<Icon type="appstore" />导航二 |
|
|
|
<Icon type="appstore" />Navigation Two |
|
|
|
</Menu.Item> |
|
|
|
<SubMenu title={<span><Icon type="setting" />导航 - 子菜单</span>}> |
|
|
|
<MenuItemGroup title="分组1"> |
|
|
|
<Menu.Item key="setting:1">选项1</Menu.Item> |
|
|
|
<Menu.Item key="setting:2">选项2</Menu.Item> |
|
|
|
<SubMenu title={<span><Icon type="setting" />Navigation Three - Submenu</span>}> |
|
|
|
<MenuItemGroup title="Item 1"> |
|
|
|
<Menu.Item key="setting:1">Option 1</Menu.Item> |
|
|
|
<Menu.Item key="setting:2">Option 2</Menu.Item> |
|
|
|
</MenuItemGroup> |
|
|
|
<MenuItemGroup title="分组2"> |
|
|
|
<Menu.Item key="setting:3">选项3</Menu.Item> |
|
|
|
<Menu.Item key="setting:4">选项4</Menu.Item> |
|
|
|
<MenuItemGroup title="Item 2"> |
|
|
|
<Menu.Item key="setting:3">Option 3</Menu.Item> |
|
|
|
<Menu.Item key="setting:4">Option 4</Menu.Item> |
|
|
|
</MenuItemGroup> |
|
|
|
</SubMenu> |
|
|
|
<Menu.Item key="alipay"> |
|
|
|
<a href="http://www.alipay.com/" target="_blank" rel="noopener noreferrer">导航四 - 链接</a> |
|
|
|
<a href="http://www.alipay.com/" target="_blank" rel="noopener noreferrer">Navigation Four - Link</a> |
|
|
|
</Menu.Item> |
|
|
|
</Menu> |
|
|
|
); |
|
|
|