Open T0ny86 opened 2 years ago
I almost finished the first stage, branch form-component this Form accept as props formType ('login', 'signup') , and it show the matching form, and handle inputs. new tweak (with Franz), to make it receive ReactElement as props. tested : done. we can use it, and 'git revert' to this commit 93be5b5f9a12ccbff584dd15dcaf77631c3876c5
but today I will try to make it dynamic component, and has ability to rebuild his shape depend on props
Build general Form: 1- accept other components as arguments 2- reusable Form (login, signup , etc)