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
|
||||
</Nav.Link>
|
||||
<Nav.Link
|
||||
active={switchRoute.isActive}
|
||||
href={switchRoute.href}
|
||||
>
|
||||
SWITCH
|
||||
</Nav.Link>
|
||||
<Nav.Link active={docs.isActive} href={docs.href}>
|
||||
Documentation
|
||||
</Nav.Link>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue