fix: Version tag should open new tab, related type improvements

closes #3737
This commit is contained in:
Tom Moor
2022-07-10 11:22:45 +02:00
parent aef62d1356
commit 465a8bd505
11 changed files with 27 additions and 23 deletions

View File

@@ -1,3 +1,4 @@
import { LocationDescriptor } from "history";
import { CheckmarkIcon } from "outline-icons";
import * as React from "react";
import { MenuItem as BaseMenuItem } from "reakit/Menu";
@@ -10,7 +11,7 @@ type Props = {
selected?: boolean;
disabled?: boolean;
dangerous?: boolean;
to?: string;
to?: LocationDescriptor;
href?: string;
target?: "_blank";
as?: string | React.ComponentType<any>;