aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/BorderedContainer.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/BorderedContainer.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/BorderedContainer.tsx')
-rw-r--r--frontend/app/components/BorderedContainer.tsx13
1 files changed, 13 insertions, 0 deletions
diff --git a/frontend/app/components/BorderedContainer.tsx b/frontend/app/components/BorderedContainer.tsx
new file mode 100644
index 0000000..cbbfbde
--- /dev/null
+++ b/frontend/app/components/BorderedContainer.tsx
@@ -0,0 +1,13 @@
+import React from "react";
+
+type Props = {
+ children: React.ReactNode;
+};
+
+export default function BorderedContainer({ children }: Props) {
+ return (
+ <div className="bg-white border-2 border-pink-600 rounded-xl p-4">
+ {children}
+ </div>
+ );
+}