blob: a355ac4b08cdf2536e2ec74be0a3326edbc98a90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import type { SupportedLanguage } from "../../types/SupportedLanguage";
import TitledColumn from "../TitledColumn";
import ProblemColumnContent from "./ProblemColumnContent";
type Props = {
title: string;
description: string;
language: SupportedLanguage;
sampleCode: string;
};
export default function ProblemColumn({
title,
description,
language,
sampleCode,
}: Props) {
return (
<TitledColumn title={title}>
<ProblemColumnContent
description={description}
sampleCode={sampleCode}
language={language}
/>
</TitledColumn>
);
}
|