11 lines
264 B
TypeScript
11 lines
264 B
TypeScript
import React, { ReactNode } from 'react';
|
|
import { containerMaxW } from '../config';
|
|
|
|
type Props = {
|
|
children: ReactNode;
|
|
};
|
|
|
|
export default function SectionMain({ children }: Props) {
|
|
return <section className={`p-6 ${containerMaxW}`}>{children}</section>;
|
|
}
|