mirror of
https://github.com/supabase/supabase.git
synced 2026-07-06 01:54:23 +08:00
11 lines
340 B
TypeScript
11 lines
340 B
TypeScript
function FormsContainer(props: { children: React.ReactNode; header?: string }) {
|
|
return (
|
|
<div className="mx-auto max-w-4xl px-5 pt-12 pb-20">
|
|
{props.header && <h1 className="text-scale-1200 mb-8 text-3xl">{props.header}</h1>}
|
|
<div className="space-y-20">{props.children}</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export { FormsContainer }
|