@trussworks/react-uswds
Version:
React USWDS 3.0 component library
16 lines (15 loc) • 687 B
TypeScript
import { default as React } from 'react';
import { HeadingLevel } from '../../types/headingLevel';
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;
};
export declare const InPageNavigation: ({ className, content, headingLevel, mainProps, navProps, rootMargin, scrollOffset, threshold, title, ...divProps }: InPageNavigationProps & Omit<JSX.IntrinsicElements['div'], 'content'>) => React.ReactElement;
export default InPageNavigation;