mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-26 06:51:51 +01:00
17 lines
324 B
TypeScript
17 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>
|
|
);
|
|
}
|