'use client' import React from 'react'; import { FcGoogle } from 'react-icons/fc'; import { FaGithub } from 'react-icons/fa'; import { FormEvent } from 'react'; type mode = 'light' | 'dark' interface Mode { mode?: mode } const SignUpFormV2 = ({mode}: Mode) => { const handleSubmit = (event: FormEvent) => { event.preventDefault(); const formData = new FormData(event.currentTarget); const firstname = formData.get('firstname'); const lastname = formData.get('lastname'); const email = formData.get('email') const password = formData.get('password') console.log({ firstname, lastname, email, password }); event.currentTarget.reset(); }; return (

Create My Account

or
Already have an account? Sign In
); }; export default SignUpFormV2;