From 83a4e59d8630be37d7cfb151f734da59ba0ea056 Mon Sep 17 00:00:00 2001 From: arthursvpb Date: Fri, 2 Sep 2022 22:23:00 -0300 Subject: [PATCH] add FormRegisterAuth --- web/src/components/FormRegister/index.jsx | 4 ++-- web/src/components/FormRegisterAuth/index.jsx | 9 +++++++++ web/src/pages/signup/index.jsx | 4 +++- 3 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 web/src/components/FormRegisterAuth/index.jsx diff --git a/web/src/components/FormRegister/index.jsx b/web/src/components/FormRegister/index.jsx index 3fdd15d..86dbc8f 100644 --- a/web/src/components/FormRegister/index.jsx +++ b/web/src/components/FormRegister/index.jsx @@ -2,13 +2,13 @@ import { Form } from 'antd'; import { FormRegisterPatient } from '../FormRegisterPatient'; import { FormRegisterSession } from '../FormRegisterSession'; +import { FormRegisterAuth } from '../FormRegisterAuth'; export const FormRegister = ({ formType }) => { const formTypes = { patient: , session: , - login: '', - signup: '', + auth: , }; return ( diff --git a/web/src/components/FormRegisterAuth/index.jsx b/web/src/components/FormRegisterAuth/index.jsx new file mode 100644 index 0000000..2a02860 --- /dev/null +++ b/web/src/components/FormRegisterAuth/index.jsx @@ -0,0 +1,9 @@ +import { Form, Input } from 'antd'; + +export const FormRegisterAuth = () => { + return ( + + + + ); +}; diff --git a/web/src/pages/signup/index.jsx b/web/src/pages/signup/index.jsx index ca2d6bc..ca6bcd7 100644 --- a/web/src/pages/signup/index.jsx +++ b/web/src/pages/signup/index.jsx @@ -1,3 +1,5 @@ +import { FormRegister } from "../../components/FormRegister"; + export const Signup = () => { - return

Signup

; + return ; };