From ad42f43d1c3c8f0da0ac31b8016e2f20f1765720 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 18 Aug 2024 00:38:07 +0900 Subject: refactor(frontend): extract components for gaming page --- frontend/app/components/Gaming/CodeBlock.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 frontend/app/components/Gaming/CodeBlock.tsx (limited to 'frontend/app/components/Gaming/CodeBlock.tsx') diff --git a/frontend/app/components/Gaming/CodeBlock.tsx b/frontend/app/components/Gaming/CodeBlock.tsx new file mode 100644 index 0000000..20cd425 --- /dev/null +++ b/frontend/app/components/Gaming/CodeBlock.tsx @@ -0,0 +1,11 @@ +type Props = { + code: string; +}; + +export default function CodeBlock({ code }: Props) { + return ( +
+			{code}
+		
+ ); +} -- cgit v1.2.3-70-g09d2