Browse Source

docs: update typo, close: #7427

pull/7535/head
Benjy Cui 7 years ago
parent
commit
30745da52e
  1. 4
      components/menu/__tests__/__snapshots__/demo.test.js.snap
  2. 2
      components/menu/demo/vertical.md

4
components/menu/__tests__/__snapshots__/demo.test.js.snap

@ -764,8 +764,8 @@ exports[`renders ./components/menu/demo/vertical.md correctly 1`] = `
class="ant-menu-submenu-title"
>
<span>
<icon
type="setting"
<i
class="anticon anticon-setting"
/>
<span>
Navigation Three

2
components/menu/demo/vertical.md

@ -42,7 +42,7 @@ ReactDOM.render(
<Menu.Item key="8">Option 8</Menu.Item>
</SubMenu>
</SubMenu>
<SubMenu key="sub4" title={<span><icon type="setting" /><span>Navigation Three</span></span>}>
<SubMenu key="sub4" title={<span><Icon type="setting" /><span>Navigation Three</span></span>}>
<Menu.Item key="9">Option 9</Menu.Item>
<Menu.Item key="10">Option 10</Menu.Item>
<Menu.Item key="11">Option 11</Menu.Item>

Loading…
Cancel
Save