blob: 4272ad49784c1754e1b6942c76f6e3ee8bd133fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import React from "react";
type Props = {
children: React.ReactNode;
title: React.ReactNode;
};
export default function TitledColumn({ children, title }: Props) {
return (
<div className="p-4 flex flex-col gap-4">
<div className="text-center text-xl font-bold">{title}</div>
{children}
</div>
);
}
|