UNPKG

@navinc/base-react-components

Version:
17 lines (16 loc) 601 B
import { MouseEventHandler } from 'react'; import { IconName } from './icons'; type StyledVariation = 'neutral' | 'positive' | 'improve' | 'negative' | 'information'; type CalloutLinkProps = { iconName?: IconName; copy?: string; linkCopy?: string; linkHref?: string; linkAction?: MouseEventHandler<HTMLElement>; variation?: StyledVariation; }; /** * Alternatively, use a linkHref rather than a linkAction to navigate elsewhere. */ export declare const CalloutLink: ({ iconName, copy, linkCopy, linkHref, linkAction, variation, }: CalloutLinkProps) => JSX.Element; export {};