import { TableOfContents as BaseTableOfContents, type TableOfContentsProps, type TableOfContentsComponents, } from 'renoun' type DocsTableOfContentsProps = Omit< TableOfContentsProps, 'children' | 'components' > export function TableOfContents({ sections }: DocsTableOfContentsProps) { const components: Partial = { Root: (props) => (