diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-16 00:42:54 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-16 00:42:54 +0900 |
| commit | 4ea5bab83311929ab5e7f055cf24a71d224fbd98 (patch) | |
| tree | abb99f54fced10d3fe23d81d0c9c7475ee189bc8 /frontend/app/components/BorderedContainer.tsx | |
| parent | 074c1fba509987e9ee8f9b1593d3e2a205127f10 (diff) | |
| download | phperkaigi-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.tsx | 7 |
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> ); |
