import { FC } from "react"; // components import { IssueBlock } from "components/issues"; // types import { IIssue, IIssueDisplayProperties } from "types"; interface Props { columnId: string; issues: IIssue[]; isReadonly?: boolean; handleIssues: (group_by: string | null, issue: IIssue, action: "update" | "delete") => void; quickActions: (group_by: string | null, issue: IIssue) => React.ReactNode; displayProperties: IIssueDisplayProperties; showEmptyGroup?: boolean; } export const IssueBlocksList: FC = (props) => { const { columnId, issues, handleIssues, quickActions, displayProperties, showEmptyGroup, isReadonly } = props; return (
{issues && issues.length > 0 ? ( issues.map((issue) => ( )) ) : (
No issues
)}
); };