import React from "react"; // lucide icons import { Plus, Minimize2, Maximize2, Circle } from "lucide-react"; // mobx import { observer } from "mobx-react-lite"; // store import { useMobxStore } from "lib/mobx/store-provider"; import { RootStore } from "store/root"; interface IHeaderGroupByCard { sub_group_by: string | null; group_by: string | null; column_id: string; icon?: React.ReactNode; title: string; count: number; } export const HeaderGroupByCard = observer( ({ sub_group_by, group_by, column_id, icon, title, count }: IHeaderGroupByCard) => { const { issueKanBanView: issueKanBanViewStore }: RootStore = useMobxStore(); const verticalAlignPosition = issueKanBanViewStore.kanBanToggle?.groupByHeaderMinMax.includes(column_id); return (