UNPKG

@navinc/base-react-components

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