1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2025-01-15 01:31:24 +01:00
smov/src/components/layout/ThinContainer.tsx
2022-02-13 18:49:03 +01:00

16 lines
324 B
TypeScript

import { ReactNode } from "react";
interface ThinContainerProps {
classNames?: string;
children?: ReactNode;
}
export function ThinContainer(props: ThinContainerProps) {
return (
<div
className={`max-w-[600px] mx-auto px-2 sm:px-0 ${props.classNames || ""}`}
>
{props.children}
</div>
);
}