docs: add demo link for Menu legacy usage (#35202)

* docs: add demo links for Menu legacy usage

* Update index.en-US.md
This commit is contained in:
afc163 2022-04-24 11:24:46 +08:00 committed by GitHub
parent f410b189dc
commit 0efba5f720
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -48,6 +48,8 @@ return <Menu items={items} />;
</Menu>;
```
The legacy demo code for version `<4.20.0` could be found at [https://github.com/ant-design/ant-design/tree/4.19.5/components/menu/demo](https://github.com/ant-design/ant-design/tree/4.19.5/components/menu/demo).
## API
### Menu

View File

@ -49,6 +49,8 @@ return <Menu items={items} />;
</Menu>;
```
`<4.20.0` 版本的 JSX 演示写法可以参考 [https://github.com/ant-design/ant-design/tree/4.19.5/components/menu/demo](https://github.com/ant-design/ant-design/tree/4.19.5/components/menu/demo)。
## API
### Menu