mirror of
https://github.com/arthur-pbty/flint.git
synced 2026-08-02 04:37:57 +02:00
19 lines
325 B
TypeScript
19 lines
325 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}
|
|
/>
|
|
);
|
|
}
|