12 lines
272 B
TypeScript
12 lines
272 B
TypeScript
import type { HtmlProps } from '@/types';
|
|
import { cn } from '@/utils/cn';
|
|
|
|
export function Container({ className, ...props }: HtmlProps<HTMLDivElement>) {
|
|
return (
|
|
<div
|
|
className={cn('mx-auto w-full max-w-4xl px-4', className)}
|
|
{...props}
|
|
/>
|
|
);
|
|
}
|