({
);
};
+
+QuizQuestion.QuestionLabel = QuestionLabel;
+QuizQuestion.OptionLabel = OptionLabel;
+
+export { QuizQuestion };
diff --git a/src/quiz/option-label.tsx b/src/quiz/option-label.tsx
new file mode 100644
index 00000000..6d2a0314
--- /dev/null
+++ b/src/quiz/option-label.tsx
@@ -0,0 +1,19 @@
+import React from "react";
+import { PrismFormatted } from "../prism-formatted";
+
+interface OptionLabelProps {
+ questionText: string;
+}
+
+const removeParagraphTags = (html: string) => html.replace(/^|<\/p>$/g, "");
+
+export const OptionLabel = ({ questionText }: OptionLabelProps) => {
+ return (
+ ""}
+ />
+ );
+};
diff --git a/src/quiz/question-label.tsx b/src/quiz/question-label.tsx
new file mode 100644
index 00000000..02537b21
--- /dev/null
+++ b/src/quiz/question-label.tsx
@@ -0,0 +1,10 @@
+import React from "react";
+import { PrismFormatted } from "../prism-formatted";
+
+interface QuestionLabelProps {
+ question: string;
+}
+
+export const QuestionLabel = ({ question }: QuestionLabelProps) => {
+ return ""} />;
+};
diff --git a/src/quiz/quiz.tsx b/src/quiz/quiz.tsx
index dda9f497..175918bb 100644
--- a/src/quiz/quiz.tsx
+++ b/src/quiz/quiz.tsx
@@ -2,8 +2,10 @@ import React from "react";
import { QuizQuestion } from "../quiz-question";
import { type QuizProps } from "./types";
+import { QuestionLabel } from "./question-label";
+import { OptionLabel } from "./option-label";
-export const Quiz = ({
+const Quiz = ({
questions,
disabled,
required,
@@ -23,3 +25,8 @@ export const Quiz = ({
);
};
+
+Quiz.QuestionLabel = QuestionLabel;
+Quiz.OptionLabel = OptionLabel;
+
+export { Quiz };