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.
21 lines
429 B
21 lines
429 B
import React, { FC, useEffect } from 'react'
|
|
import TextField from '../text-field'
|
|
import './register-form.scss'
|
|
|
|
interface Props {
|
|
initForm: () => void
|
|
}
|
|
|
|
const RegisterForm: FC<Props> = ({ initForm }) => {
|
|
useEffect(() => {
|
|
initForm()
|
|
}, [])
|
|
|
|
return (
|
|
<div className="container">
|
|
<TextField name="username" label="Username" />
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default RegisterForm
|