aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/TwoColumnLayout.tsx
blob: 980bf4d21b276746636bb15b84d65a27cb17177f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
import React from "react";

type Props = {
	children: React.ReactNode;
};

export default function TwoColumnLayout({ children }: Props) {
	return (
		<div className="grow grid grid-cols-2 divide-x divide-gray-300">
			{children}
		</div>
	);
}