WizardLayout.tsx19 lines · main
1import { PropsWithChildren } from 'react'
2
3import { withAuth } from '@/hooks/misc/withAuth'
4
5const WizardLayout = ({ children }: PropsWithChildren<{}>) => {
6 return (
7 <div className="flex w-full flex-col">
8 <div className="overflow-auto">
9 <section className="has-slide-in slide-in relative mx-auto my-10 max-w-2xl">
10 {children}
11 </section>
12 </div>
13 </div>
14 )
15}
16
17export default withAuth(WizardLayout)
18
19export const WizardLayoutWithoutAuth = WizardLayout