@trussworks/react-uswds
Version:
React USWDS 3 component library
7 lines (6 loc) • 396 B
TypeScript
import { default as React, JSX } from 'react';
import { HeadingLevel } from '../../types/headingLevel';
export type CollectionHeadingProps = {
headingLevel: HeadingLevel;
} & React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>;
export declare const CollectionHeading: ({ headingLevel, className, children, ...props }: CollectionHeadingProps) => JSX.Element;