aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/TwoColumnLayout.tsx
blob: 68eab32119d29f6412aa70ef988b67ed5c53e000 (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-1 md:grid-cols-2 md:divide-x divide-gray-300">
			{children}
		</div>
	);
}