import React from "react" import { LinkItem } from "./link-item" import { LaAccount, PersonalLinkLists, Section as SectionSchema, Topic, UserRoot } from "@/lib/schema" interface SectionProps { topic: Topic section: SectionSchema activeIndex: number startIndex: number linkRefs: React.MutableRefObject<(HTMLLIElement | null)[]> setActiveIndex: (index: number) => void me: { root: { personalLinks: PersonalLinkLists } & UserRoot } & LaAccount personalLinks: PersonalLinkLists } export function Section({ topic, section, activeIndex, setActiveIndex, startIndex, linkRefs, me, personalLinks }: SectionProps) { return (
{section.title}