18 lines
322 B
TypeScript
18 lines
322 B
TypeScript
import { cn } from "@/lib/utils";
|
|
import React from "react";
|
|
|
|
interface Props {
|
|
className?: string;
|
|
}
|
|
|
|
export const Container: React.FC<React.PropsWithChildren<Props>> = ({
|
|
className,
|
|
children,
|
|
}) => {
|
|
return (
|
|
<div className={cn("mx-auto max-w-[1280px] px-2", className)}>
|
|
{children}
|
|
</div>
|
|
);
|
|
};
|