UNPKG

@redocly/theme

Version:

Shared UI components lib

15 lines (14 loc) 445 B
import * as React from 'react'; import type { JSX } from 'react'; export type LinkProps = { to: string; target?: '_self' | '_blank'; external?: boolean; className?: string; style?: React.CSSProperties; innerRef?: React.Ref<HTMLAnchorElement>; languageInsensitive?: boolean; onClick?: () => void; [key: string]: unknown; }; export declare function Link(props: React.PropsWithChildren<LinkProps>): JSX.Element;