import type { ReactNode } from 'react' import { cx } from './cx.js' export type ContainerWidth = 'default' | 'narrow' | 'wide' export const CONTAINER_WIDTHS: Record = { default: 'max-w-container', narrow: 'max-w-narrow', wide: 'max-w-container-wide', } export type ContainerProps = { children: ReactNode; className?: string; width?: ContainerWidth } /** The page column: centred, the site's max width, side gutters. */ export function Container({ children, className, width = 'default' }: ContainerProps) { return
{children}
}