aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/BorderedContainer.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-16 00:42:54 +0900
committernsfisis <nsfisis@gmail.com>2025-03-16 00:42:54 +0900
commit4ea5bab83311929ab5e7f055cf24a71d224fbd98 (patch)
treeabb99f54fced10d3fe23d81d0c9c7475ee189bc8 /frontend/app/components/BorderedContainer.tsx
parent074c1fba509987e9ee8f9b1593d3e2a205127f10 (diff)
downloadphperkaigi-2025-albatross-4ea5bab83311929ab5e7f055cf24a71d224fbd98.tar.gz
phperkaigi-2025-albatross-4ea5bab83311929ab5e7f055cf24a71d224fbd98.tar.zst
phperkaigi-2025-albatross-4ea5bab83311929ab5e7f055cf24a71d224fbd98.zip
feat(frontend): show the current code size
Diffstat (limited to 'frontend/app/components/BorderedContainer.tsx')
-rw-r--r--frontend/app/components/BorderedContainer.tsx7
1 files changed, 5 insertions, 2 deletions
diff --git a/frontend/app/components/BorderedContainer.tsx b/frontend/app/components/BorderedContainer.tsx
index fe15c3b..d9b2fe8 100644
--- a/frontend/app/components/BorderedContainer.tsx
+++ b/frontend/app/components/BorderedContainer.tsx
@@ -2,11 +2,14 @@ import React from "react";
type Props = {
children: React.ReactNode;
+ className?: string;
};
-export default function BorderedContainer({ children }: Props) {
+export default function BorderedContainer({ children, className }: Props) {
return (
- <div className="bg-white border-2 border-blue-600 rounded-xl p-4">
+ <div
+ className={`bg-white border-2 border-blue-600 rounded-xl p-4 ${className}`}
+ >
{children}
</div>
);