import React from "react"; // ui import { CustomMenu } from "components/ui"; // types import { IIssueLabels } from "types"; //icons import { RectangleGroupIcon, PencilIcon } from "@heroicons/react/24/outline"; import { Component, X } from "lucide-react"; type Props = { label: IIssueLabels; addLabelToGroup: (parentLabel: IIssueLabels) => void; editLabel: (label: IIssueLabels) => void; handleLabelDelete: () => void; }; export const SingleLabel: React.FC = ({ label, addLabelToGroup, editLabel, handleLabelDelete, }) => (
{label.name}
} > addLabelToGroup(label)}> Convert to group editLabel(label)}> Edit label
);