You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
324 B
16 lines
324 B
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> |
|
); |
|
}
|
|
|