📜  authfunctions react - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:40.858000             🧑  作者: Mango

代码示例1
import React, { useState } from 'react'
import { login } from "@authfunctions/react"

export default function Login() {
  const [name, setName] = useState("");
  const [mail, setMail] = useState("");
  const [password, setPassword] = useState("");
  const [err, setErr] = useState("");
  return (
    <>
       setName(e.target.value)}
        value={name}
        placeholder="name"
      />
       setMail(e.target.value)}
        value={mail}
        placeholder="mail"
      />
       setPassword(e.target.value)}
        value={password}
        placeholder="password"
      />
      
      

{err}

) }