UNPKG

@octopusdeploy/design-system-components

Version:
34 lines (33 loc) 1.08 kB
type Size = "xSmall" | "small" | "medium" | "large"; type Weight = "normal" | "bold"; export type BaseLinkProps = { href: string; children: string; external?: boolean; video?: boolean; openInNewTab?: boolean; size?: Size; weight?: Weight; onClick?: () => void; download?: string; accessibleName?: string; }; export type LinkProps = { href: string; children: string; size?: Size; weight?: Weight; onClick?: () => void; }; export declare function Link({ href, children, size, weight, onClick }: LinkProps): import("react/jsx-runtime").JSX.Element; type ExternalLinkProps = LinkProps & { video?: boolean; trackAnalytics?: boolean; downloadFileName?: string; linkLocation?: string; openInSelf?: boolean; hideIcon?: boolean; accessibleName?: string; }; export declare function ExternalLink({ href, children, size, weight, onClick, trackAnalytics, video, downloadFileName, linkLocation, openInSelf, hideIcon, accessibleName }: ExternalLinkProps): import("react/jsx-runtime").JSX.Element; export {};