Skip to content

Commit

Permalink
Version menu for v4 (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
szhsin authored Jun 12, 2023
1 parent 8a8777a commit 9410989
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions example/src/components/Logo.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,19 @@ export const Logo = React.memo(function Logo() {
className="version-menu"
>
<MenuHeader>Version history</MenuHeader>
<MenuItem href="https://szhsin.github.io/react-menu-v3">v3.5.x</MenuItem>
<MenuItem href="https://szhsin.github.io/react-menu-v2">v2.3.x</MenuItem>
<MenuItem href="https://szhsin.github.io/react-menu-v1">v1.11.x</MenuItem>
<MenuDivider />
<MenuHeader>Migration guide</MenuHeader>
<MenuItem href="https://github.com/szhsin/react-menu/wiki/Migration-from-v2-to-v3">
v2 to v3
<MenuItem href="https://github.com/szhsin/react-menu/blob/master/docs/migration/v4.md">
migrating to v4
</MenuItem>
<MenuItem href="https://github.com/szhsin/react-menu/wiki/Migration-from-v1-to-v2">
v1 to v2
<MenuItem href="https://github.com/szhsin/react-menu/blob/master/docs/migration/v3.md">
migrating to v3
</MenuItem>
<MenuItem href="https://github.com/szhsin/react-menu/blob/master/docs/migration/v2.md">
migrating to v2
</MenuItem>
</Menu>
);
Expand Down

0 comments on commit 9410989

Please sign in to comment.