@massds/mayflower-react
Version:
React versions of Mayflower design system UI components
36 lines (35 loc) • 1.34 kB
TypeScript
/**
* FooterSlim module.
* @module @massds/mayflower-react/FooterSlim
* @requires module:@massds/mayflower-assets/scss/03-organisms/footer-slim
* @requires module:@massds/mayflower-assets/scss/01-atoms/svg-icons
* @requires module:@massds/mayflower-assets/scss/01-atoms/svg-loc-icons
* @requires module:@massds/mayflower-assets/scss/01-atoms/email
* @requires module:@massds/mayflower-assets/scss/01-atoms/phone-number
* @requires module:@massds/mayflower-assets/scss/01-atoms/address
*/
import React from 'react';
export interface FooterSlimProps {
/** The main title to be displayed in the footer */
title: string;
/** Bolded copyright info starting with © (Defaults to matching Mass.gov) */
copyright?: string;
/** A short description */
description: string;
/** Additional links for key information */
links?: {
href?: string;
title?: string;
}[];
/** Contact details for the responsible authority */
contact?: {
icon?: React.ReactElement;
component?: React.ReactNode;
}[];
/** One or multiple logos rendered at the footer */
siteLogo: React.ReactNode;
/** Whether logo(s) should be stacked on top of footer title */
stackedLogo?: boolean;
}
declare const FooterSlim: (props: FooterSlimProps) => any;
export default FooterSlim;