diff --git a/app/javascript/pages/assessment/components/QuestionCard.tsx b/app/javascript/pages/assessment/components/QuestionCard.tsx index df8c487..7b1fa6d 100644 --- a/app/javascript/pages/assessment/components/QuestionCard.tsx +++ b/app/javascript/pages/assessment/components/QuestionCard.tsx @@ -1,5 +1,6 @@ import React, { FC, useState } from "react"; import { Button, Card } from "../../../components"; +import { QuestionCardField } from "./QuestionCardField"; interface Props { title: string @@ -35,38 +36,14 @@ export const QuestionCard: FC = ({ title, onAddQuestion, onRemoveQuestion
{!collapsed &&
-
- Grau de Dificuldade: - Média -
-
- Categoria: - Modelagem -
-
- Eixo de Formação: - Infra Sistemas -
-
- Assunto: - Fisica -
-
- Habilidade Cognitiva: - Compreender -
-
- Tipo: - Resposta Multipla -
-
- Autoria: - UNIFESO -
-
- Ano: - 2023 -
+ + + + + + + +
Enunciado:
diff --git a/app/javascript/pages/assessment/components/QuestionCardField.tsx b/app/javascript/pages/assessment/components/QuestionCardField.tsx new file mode 100644 index 0000000..60d7515 --- /dev/null +++ b/app/javascript/pages/assessment/components/QuestionCardField.tsx @@ -0,0 +1,15 @@ +import React, { FC } from "react"; + +interface Props { + label: string, + value: string +} + +export const QuestionCardField: FC = ({ label, value }) => { + return ( +
+ {`${label}: `} + {value} +
+ ) +} \ No newline at end of file