@trussworks/react-uswds
Version:
React USWDS 3 component library
16 lines (15 loc) • 674 B
TypeScript
import { JSX } from 'react';
import { HeadingLevel } from '../../types/headingLevel';
export type InPageNavigationProps = {
className?: string;
content: JSX.Element;
headingLevel?: HeadingLevel;
mainProps?: JSX.IntrinsicElements['main'];
navProps?: JSX.IntrinsicElements['nav'];
rootMargin?: string;
scrollOffset?: string;
threshold?: number;
title?: string;
} & Omit<JSX.IntrinsicElements['div'], 'content'>;
export declare const InPageNavigation: ({ className, content, headingLevel, mainProps, navProps, rootMargin, scrollOffset, threshold, title, ...divProps }: InPageNavigationProps) => JSX.Element;
export default InPageNavigation;