import * as classNames from "classnames"; import * as React from "react"; import { Icon } from "../Icon"; export enum LinkType { Standard = "standard", Boxed = "boxed", } export interface ILinkProps { href?: string; target?: string; text?: string; type?: LinkType; onClick?: () => boolean; className?: string; } export const Link = ({ className, href, target, text, type = LinkType.Standard, onClick }: ILinkProps) => ( {type === LinkType.Boxed && ( )} {text} {type === LinkType.Boxed && ( )} );