mirror of
https://github.com/movie-web/movie-web.git
synced 2025-01-22 15:31:39 +00:00
19 lines
347 B
TypeScript
19 lines
347 B
TypeScript
import { ReactNode } from "react";
|
|
|
|
interface ThinContainerProps {
|
|
classNames?: string;
|
|
children?: ReactNode;
|
|
}
|
|
|
|
export function ThinContainer(props: ThinContainerProps) {
|
|
return (
|
|
<div
|
|
className={`mx-auto w-[600px] max-w-full px-2 sm:px-0 ${
|
|
props.classNames || ""
|
|
}`}
|
|
>
|
|
{props.children}
|
|
</div>
|
|
);
|
|
}
|