diff --git a/src/pages/Help/components/Question/Question.jsx b/src/pages/Help/components/Question/Question.jsx new file mode 100644 index 0000000..10c4c95 --- /dev/null +++ b/src/pages/Help/components/Question/Question.jsx @@ -0,0 +1,20 @@ +import {Collapse, Stack, Typography} from "@mui/material"; +import {ExpandMore} from "@mui/icons-material"; +import {useState} from "react"; + +export const Question = ({question, answer}) => { + const [open, setOpen] = useState(false); + + return ( + + setOpen(!open)} + sx={{cursor: "pointer"}}> + {question}? + + + + {answer} + + + ); +} \ No newline at end of file