import React, { FC } from "react"; import { ChevronDown } from "lucide-react"; // types import { TCycleGroups } from "@plane/types"; // icons import { CycleGroupIcon } from "@plane/ui"; // helpers import { cn } from "@/helpers/common.helper"; type Props = { type: TCycleGroups; title: string; count?: number; showCount?: boolean; isExpanded?: boolean; }; export const CycleListGroupHeader: FC = (props) => { const { type, title, count, showCount = false, isExpanded = false } = props; return (
{title}
{showCount &&
{`${count ?? "0"}`}
}
); };