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.
18 lines
347 B
18 lines
347 B
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> |
|
); |
|
}
|
|
|