in src/theme/TOC/index.tsx [14:34]
export default function TOC({ className, ...props }: Props): JSX.Element {
return (
<motion.div
className={clsx(styles.tableOfContents, 'thin-scrollbar', className)}
initial={{ opacity: 0, x: 100 }}
animate={{ opacity: 1, x: 0 }}
transition={{
type: 'spring',
stiffness: 400,
damping: 20,
duration: 0.3,
}}
>
<TOCItems
{...props}
linkClassName={LINK_CLASS_NAME}
linkActiveClassName={LINK_ACTIVE_CLASS_NAME}
/>
</motion.div>
);
}