import React from "react"; // lucide icons import { Circle, ChevronDown, ChevronUp } from "lucide-react"; // mobx import { observer } from "mobx-react-lite"; interface IHeaderSubGroupByCard { icon?: React.ReactNode; title: string; count: number; column_id: string; kanBanToggle: any; handleKanBanToggle: any; } export const HeaderSubGroupByCard = observer( ({ icon, title, count, column_id, kanBanToggle, handleKanBanToggle }: IHeaderSubGroupByCard) => (
handleKanBanToggle("subgroupByIssuesVisibility", column_id)} > {kanBanToggle?.subgroupByIssuesVisibility.includes(column_id) ? ( ) : ( )}
{icon ? icon : }
{title}
{count || 0}
) );