import { observer } from "mobx-react-lite"; import { Combobox } from "@headlessui/react"; // hooks import { useProjectState } from "hooks/store"; export const BulkDeleteIssuesModalItem: React.FC = observer((props) => { const { issue, delete_issue_ids, identifier } = props; const { getStateById } = useProjectState(); const color = getStateById(issue.state_id)?.color; return ( `flex cursor-pointer select-none items-center justify-between rounded-md px-3 py-2 ${ active ? "bg-custom-background-80 text-custom-text-100" : "" }` } >
{identifier}-{issue.sequence_id} {issue.name}
); });