15 lines
301 B
TypeScript
15 lines
301 B
TypeScript
import { cn } from '@repo/ui/lib/utils'
|
|
|
|
type ContainerProps = {
|
|
children: React.ReactNode
|
|
className?: string
|
|
}
|
|
|
|
export function Container({ children, className }: ContainerProps) {
|
|
return (
|
|
<main>
|
|
<div className={cn('container mx-auto', className)}>{children}</div>
|
|
</main>
|
|
)
|
|
}
|