UNPKG

@trussworks/react-uswds

Version:
16 lines (15 loc) 674 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; 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;