"use client"; import cx from "classnames"; import React from "react"; import { useStatic } from "../../utils/hooks"; import { Link } from "../Link"; import AnchorNavigationStatic from "./AnchorNavigation.static"; interface AnchorNavigationItem { label: string; href: string; isActive?: boolean; } interface AnchorNavigationProps { items: AnchorNavigationItem[]; className?: string; children?: React.ReactNode; } const CLASS_ROOT = "anchor-navigation"; const AnchorNavigation = ({ items, className, children, ...other }: AnchorNavigationProps) => { const classes = cx(CLASS_ROOT, className); const [anchorNavRef] = useStatic(AnchorNavigationStatic); return ( ); }; AnchorNavigation.displayName = "AnchorNavigation"; export { AnchorNavigation };