mirror of
https://github.com/arthur-pbty/flint.git
synced 2026-08-01 20:29:03 +02:00
12 lines
295 B
TypeScript
12 lines
295 B
TypeScript
import type { HTMLAttributes } from "react";
|
|
|
|
import { cn } from "./cn";
|
|
|
|
export function Container({ className, ...props }: HTMLAttributes<HTMLDivElement>) {
|
|
return (
|
|
<div
|
|
className={cn("mx-auto w-full max-w-[1200px] px-4 sm:px-6 lg:px-8", className)}
|
|
{...props}
|
|
/>
|
|
);
|
|
} |