"use client" import { useState } from "react" import { Button } from "@/components/ui/button" import { Input } from "@/components/ui/input" import { Label } from "@/components/ui/label" import Link from "next/link" export function RegisterForm() { const [formData, setFormData] = useState({ email: "", password: "", confirmPassword: "", }) const handleChange = (e: React.ChangeEvent) => { const { name, value } = e.target setFormData(prev => ({ ...prev, [name]: value })) } const handleSubmit = (e: React.FormEvent) => { e.preventDefault() // Here you would typically send the data to your backend console.log("Form submitted:", formData) } return (
Забыли пароль?
) }