2026-10-05 18:10:18 -04:00
|
|
|
import React from 'react';
|
|
|
|
|
import { cn } from '@/lib/cn';
|
2020-04-17 11:07:32 -07:00
|
|
|
|
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
|
|
|
|
2020-07-03 13:55:33 -07:00
|
|
|
ContentContainer.displayName = 'ContentContainer';
|
2020-04-17 11:07:32 -07:00
|
|
|
|
|
|
|
|
export default ContentContainer;
|