From ad850c31ca840a94a0954958af880c05d2676b8d Mon Sep 17 00:00:00 2001 From: Mathias Wagner Date: Tue, 18 Apr 2023 18:58:42 +0200 Subject: [PATCH] Created the TextInput.jsx component --- src/common/components/TextInput/TextInput.jsx | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/common/components/TextInput/TextInput.jsx diff --git a/src/common/components/TextInput/TextInput.jsx b/src/common/components/TextInput/TextInput.jsx new file mode 100644 index 0000000..35988dc --- /dev/null +++ b/src/common/components/TextInput/TextInput.jsx @@ -0,0 +1,9 @@ +import "./styles.sass"; + +export const TextInput = ({text, setText, id, type = "text"}) => { + const updateText = (event) => setText(event.target.value); + + return ( + + ) +} \ No newline at end of file