diff --git a/QandA/frontend/src/QuestionList.tsx b/QandA/frontend/src/QuestionList.tsx new file mode 100644 index 0000000..2488454 --- /dev/null +++ b/QandA/frontend/src/QuestionList.tsx @@ -0,0 +1,14 @@ +import React from 'react'; +import { QuestionData } from './QuestionsData'; + +interface Props { + data: QuestionData[]; +} + +export const QuestionList = ({ data }: Props) => ( +