aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/InputText.tsx
diff options
context:
space:
mode:
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"
+ />
+ );
+}