2022-10-17 23:37:01 +08:00
|
|
|
import { ReactNode } from 'react';
|
2022-10-07 13:55:39 +08:00
|
|
|
|
|
|
|
interface Props {
|
2022-10-17 23:37:01 +08:00
|
|
|
children: ReactNode;
|
2022-10-07 13:55:39 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
export default function SectionContainer({ children }: Props) {
|
2022-10-17 23:37:01 +08:00
|
|
|
return (
|
|
|
|
<div className="mx-auto max-w-3xl px-4 sm:px-6 xl:max-w-5xl xl:px-0">
|
|
|
|
{children}
|
|
|
|
</div>
|
|
|
|
);
|
2022-10-07 13:55:39 +08:00
|
|
|
}
|