// icons import { BacklogStateIcon, CancelledStateIcon, CompletedStateIcon, StartedStateIcon, UnstartedStateIcon, } from "components/icons"; import { TIssueGroupKey } from "types/issue"; type Props = { stateGroup: TIssueGroupKey; color: string; className?: string; height?: string; width?: string; }; export const StateGroupIcon: React.FC = ({ stateGroup, className, color, height = "12px", width = "12px" }) => { if (stateGroup === "backlog") return ; else if (stateGroup === "cancelled") return ; else if (stateGroup === "completed") return ; else if (stateGroup === "started") return ; else return ; };