diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-03-20 20:58:39 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-03-20 20:59:53 +0900 |
| commit | 7d387bf868e2470e8010b5f8d1563da56b5a8b3d (patch) | |
| tree | a8750ce003398522321f48438b599f007f51d168 /frontend/app/components/ThreeColumnLayout.tsx | |
| parent | 23315cc2e0c98510ffca5adf06a2152945e51756 (diff) | |
| download | iosdc-japan-2025-albatross-7d387bf868e2470e8010b5f8d1563da56b5a8b3d.tar.gz iosdc-japan-2025-albatross-7d387bf868e2470e8010b5f8d1563da56b5a8b3d.tar.zst iosdc-japan-2025-albatross-7d387bf868e2470e8010b5f8d1563da56b5a8b3d.zip | |
refactor(frontend): TwoColumnLayout/ThreeColumnLayout
Diffstat (limited to 'frontend/app/components/ThreeColumnLayout.tsx')
| -rw-r--r-- | frontend/app/components/ThreeColumnLayout.tsx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/frontend/app/components/ThreeColumnLayout.tsx b/frontend/app/components/ThreeColumnLayout.tsx new file mode 100644 index 0000000..42533b7 --- /dev/null +++ b/frontend/app/components/ThreeColumnLayout.tsx @@ -0,0 +1,13 @@ +import React from "react"; + +type Props = { + children: React.ReactNode; +}; + +export default function ThreeColumnLayout({ children }: Props) { + return ( + <div className="grow grid grid-cols-3 divide-x divide-gray-300"> + {children} + </div> + ); +} |
