sudo-archive/src/components/layout/ThinContainer.tsx

13 lines
287 B
TypeScript
Raw Normal View History

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