movie-web/src/components/layout/WideContainer.tsx
Jelle van Snik e7981539e6 media grids
2023-01-07 23:44:46 +01:00

19 lines
347 B
TypeScript

import { ReactNode } from "react";
interface WideContainerProps {
classNames?: string;
children?: ReactNode;
}
export function WideContainer(props: WideContainerProps) {
return (
<div
className={`mx-auto w-[700px] max-w-full px-8 sm:px-4 ${
props.classNames || ""
}`}
>
{props.children}
</div>
);
}