UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

22 lines (21 loc) 735 B
import { DecorativeLinkProps } from '../DecorativeLink'; export interface ContactGroupProps { /** icon to pass to the contact group */ icon?: "SvgMarker" | "SvgPhone" | "SvgLaptop" | "SvgFax"; /** The heading text */ text?: string; /** The name of the contact info */ name?: "Phone" | "Online" | "Fax" | "Address"; /** The heading level, default is 2 */ level?: number; /** A set of contact info items */ items?: { type?: "phone" | "online" | "email" | "address"; label?: string; address?: string; link?: DecorativeLinkProps; details?: string; }[]; } declare const ContactGroup: (contactGroup: ContactGroupProps) => any; export default ContactGroup;