// react beautiful dnd import { Draggable } from "@hello-pangea/dnd"; // components import { KanBanProperties } from "./properties"; interface IssueBlockProps { sub_group_id: string; columnId: string; issues: any; isDragDisabled: boolean; } export const IssueBlock = ({ sub_group_id, columnId, issues, isDragDisabled }: IssueBlockProps) => ( <> {issues && issues.length > 0 ? ( <> {issues.map((issue: any, index: any) => ( {(provided: any, snapshot: any) => (
ONE-{issue.sequence_id}
{issue.name}
)}
))} ) : ( !isDragDisabled && (
{/*
Drop here
*/}
) )} );