import { JSX } from 'solid-js' import { TableOfContents } from '../TableOfContents' import { PageLayout } from '../_shared/PageLayout' type Props = { title: string children: JSX.Element } export const StaticPage = (props: Props) => { const articleBodyElement: { current: HTMLElement } = { current: null } return (
(articleBodyElement.current = el)} >
{props.children}
) }