2022-03-13 03:00:38 +01:00

12 lines
280 B
TypeScript

type SubPanelProps = {
children: React.ReactNode;
};
export default function SubPanel(props: SubPanelProps): JSX.Element {
return (
<div className="grid pt-10 pb-20 px-6 desktop:py-8 desktop:px-10 gap-y-2 text-center">
{props.children}
</div>
);
}