aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/components/Gaming/ProblemColumn.tsx
blob: 3b7e58cc1a4b75ad8846da09ecd485af1f0bf167 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import TitledColumn from "../TitledColumn";
import ProblemColumnContent from "./ProblemColumnContent";

type Props = {
	title: string;
	description: string;
	sampleCode: string;
};

export default function ProblemColumn({
	title,
	description,
	sampleCode,
}: Props) {
	return (
		<TitledColumn title={title}>
			<ProblemColumnContent description={description} sampleCode={sampleCode} />
		</TitledColumn>
	);
}