Files
formbricks/apps/web/modules/auth/components/form-wrapper.tsx
Dhruwang Jariwala f80d1b32b7 chore: Auth module revamp (#4335)
Co-authored-by: pandeymangg <anshuman.pandey9999@gmail.com>
Co-authored-by: Matthias Nannt <mail@matthiasnannt.com>
2024-11-26 08:28:13 +00:00

19 lines
551 B
TypeScript

import { Logo } from "@/modules/ui/components/logo";
interface FormWrapperProps {
children: React.ReactNode;
}
export const FormWrapper = ({ children }: FormWrapperProps) => {
return (
<div className="mx-auto flex flex-1 flex-col justify-center px-4 py-12 sm:px-6 lg:flex-none lg:px-20 xl:px-24">
<div className="mx-auto w-full max-w-sm rounded-xl bg-white p-8 shadow-xl lg:w-96">
<div className="mb-8 text-center">
<Logo className="mx-auto w-3/4" />
</div>
{children}
</div>
</div>
);
};