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

13 lines
287 B
TypeScript
Raw Normal View History

2022-02-10 23:45:17 +01:00
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>)
}