import React, { useState } from "react"; import { useNavigate } from "react-router-dom"; // type LoginProps = { // }; export const Login = () => { // interface IUSER { // email: string; // password: string; // } // const [error, setError] = useState(""); // const [disabled, setDisabled] = useState(false); // const [success, setSuccess] = useState(false); // const navigate = useNavigate(); // function handleChange(event: type) {} // function handleSubmit(params: type) {} // if (success) { // alert("회원가입 되었습니다"); // navigate(`../`); // } return (