12 lines
257 B
TypeScript
12 lines
257 B
TypeScript
import { ReactNode } from 'react'
|
|
|
|
interface Props {
|
|
children: ReactNode
|
|
}
|
|
|
|
export default function SectionContainer({ children }: Props) {
|
|
return (
|
|
<section className="mx-auto max-w-3xl px-4 sm:px-6 xl:max-w-5xl xl:px-0">{children}</section>
|
|
)
|
|
}
|