import { Link, } from "react-router-dom"; import React, { useState } from "react"; interface login { id : string; password : string; } const fake = {id : "asdf", password : "qwer"} function Logindata(fake :login){ const [id, setId] = useState(""); const [password, setPassword] = useState(""); return(
setId(e.target.value)} /> setPassword(e.target.value)} />
) } export default function Login() { return (
{/*
*/}
Travel Report
{/*
*/}
// Login Page ); }