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> ); }