import { FC } from "react"; // ui import { Tooltip } from "@plane/ui"; // types import { IIssueLabel } from "@plane/types"; // hooks import { usePlatformOS } from "hooks/use-platform-os"; type IssueLabelsListProps = { labels?: (IIssueLabel | undefined)[]; length?: number; showLength?: boolean; }; export const IssueLabelsList: FC = (props) => { const { labels } = props; const { isMobile } = usePlatformOS(); return ( <> {labels && ( <> l?.name).join(", ")} isMobile={isMobile}>
{`${labels.length} Labels`}
)} ); };