Files
cash-stacks/frontend/src/pages/ForgotPassword/index.tsx
T
2021-07-13 17:51:30 -06:00

24 lines
499 B
TypeScript

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>
)
}