mirror of
https://github.com/supabase/supabase.git
synced 2026-05-09 10:19:50 -04:00
4a0bb36ca8
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Ivan Vasilov <vasilov.ivan@gmail.com>
20 lines
496 B
TypeScript
20 lines
496 B
TypeScript
import { PropsWithChildren } from 'react'
|
|
|
|
import { withAuth } from '@/hooks/misc/withAuth'
|
|
|
|
const WizardLayout = ({ children }: PropsWithChildren<{}>) => {
|
|
return (
|
|
<div className="flex w-full flex-col">
|
|
<div className="overflow-auto">
|
|
<section className="has-slide-in slide-in relative mx-auto my-10 max-w-2xl">
|
|
{children}
|
|
</section>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default withAuth(WizardLayout)
|
|
|
|
export const WizardLayoutWithoutAuth = WizardLayout
|