type ContentPanelProps = { children: React.ReactNode; autoformat?: boolean; width?: ContentPanelWidthSizes; }; export enum ContentPanelWidthSizes { default = "default", large = "large", } export default function ContentPanel(props: ContentPanelProps): JSX.Element { const width = props.width ? props.width : ContentPanelWidthSizes.default; const widthCSS = width === ContentPanelWidthSizes.default ? "max-w-2xl" : "w-full"; return (