import React from 'react'; import type { MarkdownHeading } from 'astro'; // import styles from './Toc.module.css'; interface Props { headings: MarkdownHeading[]; } // TODO: Change this for the floating container with Intersection Observer // FIXME: Create real nesting and not the ilussion of nesting (aka nested ul and not padding multiplied by depth) export default function Toc({ headings }: Props): JSX.Element { return ( ); }