Last active
October 13, 2024 16:17
-
-
Save PikriNtr/683156da9fbe53088d1b87d184a6e326 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { cn } from "@/lib/utils" | |
import { ReactNode } from "react" | |
const MaxWidthWrapper = ({ | |
className, | |
children | |
}: { | |
className?: string | |
children: ReactNode | |
}) => { | |
return ( | |
<div className={cn('mx-auto w-full max-w-screen-xl px-2.5 md:px-20', className)}> | |
{children} | |
</div> | |
) | |
} | |
export default MaxWidthWrapper |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment