import React, { FC, PropsWithChildren } from "react"; import { SideBar } from "./SideBar"; import { SelectedQuestionCard } from "./SelectedQuestionCard"; type Props = { questions: {id: string, label: string}[], onRemoveQuestion: Function } export const SelectedQuestionsSideBar: FC = ({ questions, onRemoveQuestion }) => { return (

Questões Selecionadas


{questions.length ? questions.map(q => ) :

Nenhuma questão selecionada

}
) }