// components import { KanbanIssueBlock } from "components/issues"; import { IEstimatePoint, IIssue, IIssueDisplayProperties, IIssueLabels, IState, IUserLite } 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; states: IState[] | null; labels: IIssueLabels[] | null; members: IUserLite[] | null; estimates: IEstimatePoint[] | null; } export const KanbanIssueBlocksList: React.FC = (props) => { const { sub_group_id, columnId, issues, isDragDisabled, handleIssues, quickActions, displayProperties, states, labels, members, estimates, } = props; return ( <> {issues && issues.length > 0 ? ( <> {issues.map((issue, index) => ( ))} ) : ( !isDragDisabled && (
{/*
Drop here
*/}
) )} ); };