'use client'; /** * ScrollSpy * * Navigation that highlights the active section based on scroll position. * Uses IntersectionObserver for efficient viewport detection. * * @example * import { ScrollSpy, ScrollSpyNav, ScrollSpyNavItem, ScrollSpySection } from '@djangocfg/ui-tools/scroll-spy'; * * * * Intro * Details * * ... * ... * */ export { ScrollSpy, ScrollSpyNav, ScrollSpyNavItem, ScrollSpySection, } from './parts'; export { ScrollSpyProvider, useScrollSpyContext, } from './context'; export type { ScrollSpyProps, ScrollSpyNavProps, ScrollSpyNavItemProps, ScrollSpySectionProps, ScrollSpyContextValue, } from './types';