aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/SubmitButton.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/SubmitButton.tsx
parent97fdb23b7a1b75001a2ca53ea5ec76c52c57dde3 (diff)
downloadphperkaigi-2025-albatross-7089515e47fb6f7e9aa3db4bbbac2d3300ff0048.tar.gz
phperkaigi-2025-albatross-7089515e47fb6f7e9aa3db4bbbac2d3300ff0048.tar.zst
phperkaigi-2025-albatross-7089515e47fb6f7e9aa3db4bbbac2d3300ff0048.zip
feat(frontend): improve error handling of login form
Diffstat (limited to 'frontend/app/components/SubmitButton.tsx')
-rw-r--r--frontend/app/components/SubmitButton.tsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/frontend/app/components/SubmitButton.tsx b/frontend/app/components/SubmitButton.tsx
new file mode 100644
index 0000000..1400a7b
--- /dev/null
+++ b/frontend/app/components/SubmitButton.tsx
@@ -0,0 +1,12 @@
+import React from "react";
+
+type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement>;
+
+export default function SubmitButton(props: ButtonProps) {
+ return (
+ <button
+ {...props}
+ className="text-lg text-white bg-pink-600 px-4 py-2 rounded transition duration-300 hover:bg-pink-500 focus:ring focus:ring-pink-400 focus:outline-none"
+ />
+ );
+}