Files

12 lines
396 B
TypeScript
Raw Permalink Normal View History

2026-10-05 18:10:18 -04:00
import React from 'react';
import { cn } from '@/lib/cn';
2026-10-12 17:58:43 -04:00
/** Page content's width and side margins: the `page-width` utility, tuned by `--layout-gutter`. */
2026-10-05 18:10:18 -04:00
const ContentContainer = ({ className, ...props }: React.ComponentProps<'div'>) => (
2026-10-12 17:58:43 -04:00
<div className={cn('page-width', className)} {...props} />
2026-10-05 18:10:18 -04:00
);
2026-10-08 16:53:20 -04:00
ContentContainer.displayName = 'ContentContainer';
export default ContentContainer;