// icons import { Icon } from "components/ui"; import { Squares2X2Icon } from "@heroicons/react/24/outline"; import { BlockedIcon, BlockerIcon } from "components/icons"; // helpers import { renderShortDateWithYearFormat } from "helpers/date-time.helper"; import { capitalizeFirstLetter } from "helpers/string.helper"; // types import { IIssueActivity } from "types"; export const activityDetails: { [key: string]: { message: (activity: IIssueActivity) => React.ReactNode; icon: React.ReactNode; }; } = { assignees: { message: (activity) => { if (activity.old_value === "") return ( <> added a new assignee{" "} {activity.new_value}. ); else return ( <> removed the assignee{" "} {activity.old_value}. ); }, icon: