From facdf9357e576f6d47e7dd23f4f7b2b34f6a8d30 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Mon, 17 Mar 2025 22:19:18 +0900
Subject: commit files

---
 src/components/QuizSection.tsx | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 src/components/QuizSection.tsx

(limited to 'src/components/QuizSection.tsx')

diff --git a/src/components/QuizSection.tsx b/src/components/QuizSection.tsx
new file mode 100644
index 0000000..27dc384
--- /dev/null
+++ b/src/components/QuizSection.tsx
@@ -0,0 +1,19 @@
+import type { Quiz } from "../quiz";
+import FuncExpectedAnswer from "./FuncExpectedAnswer";
+import FuncMyAnswer from "./FuncMyAnswer";
+
+type Props = {
+	quiz: Quiz;
+};
+
+function QuizSection({ quiz }: Props) {
+	return (
+		<section>
+			<h3>{quiz.label}</h3>
+			<FuncExpectedAnswer quiz={quiz} />
+			<FuncMyAnswer quiz={quiz} />
+		</section>
+	);
+}
+
+export default QuizSection;
-- 
cgit v1.2.3-70-g09d2

