mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 22:02:55 +01:00
Rewrite Nav.tsx to include SWITCH link
cgen-79e2a6d418c145299377c71db6500626
This commit is contained in:
parent
717825e2c5
commit
30468b517f
1 changed files with 7 additions and 1 deletions
|
|
@ -29,6 +29,12 @@ export class PageNav extends React.Component {
|
||||||
>
|
>
|
||||||
Monarch
|
Monarch
|
||||||
</Nav.Link>
|
</Nav.Link>
|
||||||
|
<Nav.Link
|
||||||
|
active={switchRoute.isActive}
|
||||||
|
href={switchRoute.href}
|
||||||
|
>
|
||||||
|
SWITCH
|
||||||
|
</Nav.Link>
|
||||||
<Nav.Link active={docs.isActive} href={docs.href}>
|
<Nav.Link active={docs.isActive} href={docs.href}>
|
||||||
Documentation
|
Documentation
|
||||||
</Nav.Link>
|
</Nav.Link>
|
||||||
|
|
@ -50,7 +56,7 @@ export class PageNav extends React.Component {
|
||||||
>
|
>
|
||||||
{/*<NavDropdown.Item href="#action/3.1">
|
{/*<NavDropdown.Item href="#action/3.1">
|
||||||
Download 0.33.0
|
Download 0.33.0
|
||||||
</NavDropdown.Item>*/}
|
</NavDropdown.Item>*/}
|
||||||
<NavDropdown.Item
|
<NavDropdown.Item
|
||||||
href="https://www.npmjs.com/package/monaco-editor"
|
href="https://www.npmjs.com/package/monaco-editor"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue