You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
499 B
23 lines
499 B
import { Input, Layout } from 'antd' |
|
import { useState } from 'react' |
|
import { Button } from '../../elements/Button' |
|
|
|
export const ForgotPassword = () => { |
|
const [email, setEmail] = useState('') |
|
|
|
const handleClick = () => { |
|
console.log(email) |
|
} |
|
|
|
return ( |
|
<Layout> |
|
<h1>Forgot Password</h1> |
|
<Input |
|
value={email} |
|
onChange={(e) => setEmail(e.target.value)} |
|
type="email" |
|
/> |
|
<Button onClick={handleClick}>Submit</Button> |
|
</Layout> |
|
) |
|
}
|
|
|