mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-27 15:47:41 +01:00
13 lines
287 B
TypeScript
13 lines
287 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 ${props.classNames || ""}`}>
|
||
|
{props.children}
|
||
|
</div>)
|
||
|
}
|