diff --git a/src/components/features/quiz/GetOptionTask.js b/src/components/features/quiz/GetOptionTask.js new file mode 100644 index 00000000..d70f486b --- /dev/null +++ b/src/components/features/quiz/GetOptionTask.js @@ -0,0 +1,38 @@ +import React from 'react'; + +export const GetOptionTask = ({type, answer, handleChange, inputValue}) => { + switch (type) { + case "3": + return ( +
+ + +
+ ) + case "2": + case "4": + return ( +
+ + +
+ ) + case "1": + return ( +
+