import { For, type Component } from "solid-js"; import type { ConfigTOC } from "../types"; export const Heading: Component<{ heading: ConfigTOC; index: number; }> = props => { const { heading, index } = props; return (