UNPKG

@trussworks/react-uswds

Version:
19 lines (18 loc) 831 B
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; minimumHeadingCount?: number; title?: string; contentSelector?: string; headingElements?: HeadingLevel[]; } & Omit<JSX.IntrinsicElements['div'], 'content'>; export declare const InPageNavigation: ({ className, content, headingLevel, mainProps, navProps, rootMargin, scrollOffset, threshold, minimumHeadingCount, title, contentSelector, headingElements, ...divProps }: InPageNavigationProps) => JSX.Element; export default InPageNavigation;