import { Draggable } from "react-beautiful-dnd"; import { Box, ListItem } from "@mui/material"; import QuestionsPageCard from "./QuestionPageCard"; import { ReactComponent as PlusIcon } from "../../../assets/icons/plus.svg"; type DraggableListItemProps = { index: number; activePlus: boolean; }; export const DraggableListItem = ({ index, activePlus, }: DraggableListItemProps) => ( {(provided, snapshot) => ( {activePlus && !snapshot.mode && ( )} )} );