@coconut-software/ui
Version:
React components for faster and easier web development.
13 lines (12 loc) • 475 B
TypeScript
import type { MouseEventHandler, PropsWithChildren } from 'react';
export interface LinkProps {
dataSet?: Record<string, string | undefined>;
external?: boolean;
href: string;
id?: string;
onClick?: MouseEventHandler<HTMLAnchorElement>;
size?: LinkSize;
}
type LinkSize = 'default' | 'small';
declare function Link({ children, dataSet, external, href, id, onClick, size, }: PropsWithChildren<LinkProps>): JSX.Element;
export default Link;