import { FC } from "react";
import { observer } from "mobx-react-lite";
// components
import { HeaderGroupByCard } from "./group-by-card";
// ui
import { Avatar } from "@plane/ui";
import { EProjectStore } from "store/command-palette.store";
export interface IAssigneesHeader {
column_id: string;
column_value: any;
issues_count: number;
disableIssueCreation?: boolean;
currentStore: EProjectStore;
}
export const Icon = ({ user }: any) => ;
export const AssigneesHeader: FC = observer((props) => {
const { column_value, issues_count, disableIssueCreation, currentStore } = props;
const assignee = column_value ?? null;
return (
<>
{assignee && (
}
title={assignee?.display_name || ""}
count={issues_count}
issuePayload={{ assignees: [assignee?.member?.id] }}
disableIssueCreation={disableIssueCreation}
currentStore={currentStore}
/>
)}
>
);
});