import { ReactNode } from "react"; export function FootnoteItemLayout(props: { index: number; indexAction?: () => void; indexHref?: string; children: ReactNode; trailing?: ReactNode; id?: string; className?: string; }) { let indexClassName = "text-tertiary font-medium shrink-0 text-sm leading-normal no-underline hover:underline cursor-pointer"; let indexContent = <>{props.index}.; return (
{props.indexHref ? ( {indexContent} ) : ( )}
{props.children}
{props.trailing}
); } export function FootnoteSectionLayout(props: { children: ReactNode; className?: string; }) { return (

{props.children}
); }