import { FC } from "react"; // types import { ICycle } from "types"; // components import { CyclesBoardCard } from "components/cycles"; export interface ICyclesBoard { cycles: ICycle[]; filter: string; workspaceSlug: string; projectId: string; } export const CyclesBoard: FC = (props) => { const { cycles, filter, workspaceSlug, projectId } = props; return (
{cycles.length > 0 ? ( <> {cycles.map((cycle) => ( ))} ) : (

{filter === "all" ? "No cycles" : `No ${filter} cycles`}

)}
); };