aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/InputText.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-08-11 15:32:47 +0900
committernsfisis <nsfisis@gmail.com>2024-08-11 15:46:48 +0900
commit7089515e47fb6f7e9aa3db4bbbac2d3300ff0048 (patch)
treef042d13143bc7a6db83297c88f2861259f573935 /frontend/app/components/InputText.tsx
parent97fdb23b7a1b75001a2ca53ea5ec76c52c57dde3 (diff)
downloadiosdc-japan-2024-albatross-7089515e47fb6f7e9aa3db4bbbac2d3300ff0048.tar.gz
iosdc-japan-2024-albatross-7089515e47fb6f7e9aa3db4bbbac2d3300ff0048.tar.zst
iosdc-japan-2024-albatross-7089515e47fb6f7e9aa3db4bbbac2d3300ff0048.zip
feat(frontend): improve error handling of login form
Diffstat (limited to 'frontend/app/components/InputText.tsx')
-rw-r--r--frontend/app/components/InputText.tsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/frontend/app/components/InputText.tsx b/frontend/app/components/InputText.tsx
new file mode 100644
index 0000000..3f2c526
--- /dev/null
+++ b/frontend/app/components/InputText.tsx
@@ -0,0 +1,12 @@
+import React from "react";
+
+type InputProps = React.InputHTMLAttributes<HTMLInputElement>;
+
+export default function InputText(props: InputProps) {
+ return (
+ <input
+ {...props}
+ className="p-2 block w-full border border-pink-600 rounded-md transition duration-300 focus:ring focus:ring-pink-400 focus:outline-none"
+ />
+ );
+}