// components import { KanbanIssueBlock } from "components/issues"; import { IIssueDisplayProperties, IIssue } from "types"; interface IssueBlocksListProps { sub_group_id: string; columnId: string; issues: IIssue[]; isDragDisabled: boolean; handleIssues: ( sub_group_by: string | null, group_by: string | null, issue: IIssue, action: "update" | "delete" ) => void; quickActions: (sub_group_by: string | null, group_by: string | null, issue: IIssue) => React.ReactNode; displayProperties: IIssueDisplayProperties; } export const KanbanIssueBlocksList: React.FC = (props) => { const { sub_group_id, columnId, issues, isDragDisabled, handleIssues, quickActions, displayProperties } = props; return ( <> {issues && issues.length > 0 ? ( <> {issues.map((issue, index) => ( ))} ) : ( !isDragDisabled && (
{/*
Drop here
*/}
) )} ); };