WizardLayout.tsx 496 B

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