1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-26 15:37:41 +01:00
smov/src3/components/layout/ThinContainer.tsx

17 lines
324 B
TypeScript
Raw Normal View History

2022-02-10 23:45:17 +01:00
import { ReactNode } from "react";
interface ThinContainerProps {
2022-02-13 18:49:03 +01:00
classNames?: string;
children?: ReactNode;
2022-02-10 23:45:17 +01:00
}
export function ThinContainer(props: ThinContainerProps) {
2022-02-13 18:49:03 +01:00
return (
<div
className={`max-w-[600px] mx-auto px-2 sm:px-0 ${props.classNames || ""}`}
>
{props.children}
</div>
);
2022-02-10 23:45:17 +01:00
}