Created the LoginGroup.jsx component

This commit is contained in:
Mathias Wagner 2023-04-18 19:00:46 +02:00
parent 0264ba0593
commit 161aa9d647
Signed by: Mathias
GPG Key ID: B8DC354B0A1F5B44

View File

@ -0,0 +1,9 @@
import "./styles.sass";
import TextInput from "@components/TextInput/index.js";
export const LoginGroup = ({id, state, setState, text}) => (
<div className="login-group">
<label htmlFor={id}>{text}</label>
<TextInput text={state} setText={setState} id={id} />
</div>
)