import React from "react"; // ui import { Tooltip } from "components/ui"; // types import { IIssueLabels } from "types"; type IssueLabelsListProps = { labels?: (IIssueLabels | undefined)[]; length?: number; showLength?: boolean; }; export const IssueLabelsList: React.FC = ({ labels, length = 5, showLength = true, }) => ( <> {labels && ( <> l?.name).join(", ")} >
{`${labels.length} Labels`}
)} );