From b92baa668465c61170ca9cc8630c4f4b8bac7b71 Mon Sep 17 00:00:00 2001 From: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com> Date: Sun, 7 Mar 2021 16:05:47 +0300 Subject: Makes Code Inputs TextAreas Changes the display of code to textareas until a proper solution is implemented. Signed-off-by: Hassan Abouelela <47495861+HassanAbouelela@users.noreply.github.com> --- src/components/InputTypes/index.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/InputTypes/index.tsx b/src/components/InputTypes/index.tsx index bc65248..c6a83f1 100644 --- a/src/components/InputTypes/index.tsx +++ b/src/components/InputTypes/index.tsx @@ -1,5 +1,4 @@ import Checkbox from "./Checkbox"; -import Code from "./Code"; import Radio from "./Radio"; import Range from "./Range"; import Select from "./Select"; @@ -38,6 +37,7 @@ export default function create_input({ question, public_state }: QuestionProp, h /* eslint-disable react/react-in-jsx-scope */ switch (question.type) { + case QuestionType.Code: // TODO: Implement case QuestionType.TextArea: result =