@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
23 lines (22 loc) • 797 B
TypeScript
export interface CalloutLinkProps {
/** The heading text */
text: string;
/** The link the callout is going to */
href: string;
/** All other attributes of the a tag */
anchorAttributes?: object;
/** Add more information about the link */
info?: string;
/** Add description text under the title text */
description?: string;
/** Adds and eyebrow to the callout link */
eyebrow?: string;
/** Adds a time note to the top left of the card */
time?: string;
/** Adds emphasized text below the title link */
emphasized?: string;
/** Change the theme of the callout link, option are default (blue) and white */
theme?: "" | "white";
}
declare const CalloutLink: (calloutLink: CalloutLinkProps) => any;
export default CalloutLink;