AuthLayout.tsx 436 B

1234567891011121314151617
  1. import React, { ReactNode } from 'react';
  2. interface AuthLayoutProps {
  3. children: ReactNode;
  4. }
  5. export const AuthLayout = ({ children }: AuthLayoutProps) => {
  6. return (
  7. <div className="flex flex-col h-screen bg-gray-100">
  8. <div className="flex-1 flex items-center justify-center p-4">
  9. <div className="w-full max-w-md bg-white rounded-lg shadow p-6">
  10. {children}
  11. </div>
  12. </div>
  13. </div>
  14. );
  15. };