@trussworks/react-uswds
Version:
React USWDS 3 component library
18 lines (17 loc) • 618 B
TypeScript
import { default as React, JSX } from 'react';
export type FooterProps = {
size?: 'big' | 'medium' | 'slim';
/**
* Component for "return to top" button/handling
*/
returnToTop?: React.ReactNode;
/**
* Content in upper footer section, e.g. navigation, searchbar, signup form
*/
primary: React.ReactNode;
/**
* Content in lower footer section, e.g. contact information
*/
secondary: React.ReactNode;
} & React.HTMLAttributes<HTMLElement>;
export declare const Footer: ({ size, returnToTop, primary, secondary, ...footerAttributes }: FooterProps) => JSX.Element;