diff --git a/src/dashboardWebView/components/Common/Link.tsx b/src/dashboardWebView/components/Common/Link.tsx new file mode 100644 index 00000000..a140da36 --- /dev/null +++ b/src/dashboardWebView/components/Common/Link.tsx @@ -0,0 +1,18 @@ +import * as React from 'react'; + +export interface ILinkProps { + title: string; + href: string; + className?: string; +} + +export const Link: React.FunctionComponent = ({ children, title, href, className }: React.PropsWithChildren) => { + return ( + + {children} + + ); +}; \ No newline at end of file diff --git a/src/dashboardWebView/components/Common/LinkButton.tsx b/src/dashboardWebView/components/Common/LinkButton.tsx index 4d63fc28..310ed817 100644 --- a/src/dashboardWebView/components/Common/LinkButton.tsx +++ b/src/dashboardWebView/components/Common/LinkButton.tsx @@ -1,5 +1,4 @@ import * as React from 'react'; -import useThemeColors from '../../hooks/useThemeColors'; export interface ILinkButtonProps { title: string; @@ -7,17 +6,10 @@ export interface ILinkButtonProps { } export const LinkButton: React.FunctionComponent = ({ children, title, onClick }: React.PropsWithChildren) => { - const { getColors } = useThemeColors(); - return (