UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

35 lines (34 loc) 1.18 kB
export interface FooterProps { /** Footer links */ footerLinks: { links?: unknown[]; }; /** Whether to display or visually hiding footer nav headings */ /** Adds footer logo. (Defaults to matching Mass.gov) <br /> * `src:` logo image source url <br /> * `domain:` The URL for the site root <br /> * `title:` The title of the logo link */ footerLogo?: { src: string; domain?: string; title?: string; }; /** Adds footer info section. (Defaults to matching Mass.gov) <br /> * `copyright:` Bolded copyright info starting with © <br /> * `description:` Descriptive info below copyright <br /> * `privacyPolicy:` A link to the privacy policy page of the site */ footerText?: { copyright?: string; description?: string; privacyPolicy?: { text?: string; url?: string; }; }; /** Adds feedback button. */ floatingAction?: boolean; } declare const Footer: ({ footerLinks, footerText: { copyright, privacyPolicy }, footerLogo: { domain, title, src }, floatingAction }: FooterProps) => any; export default Footer;