// icons import { StateGroupBacklogIcon, StateGroupCancelledIcon, StateGroupCompletedIcon, StateGroupStartedIcon, StateGroupUnstartedIcon, } from "components/icons"; // types import { STATE_GROUPS } from "constants/state"; import { TStateGroups } from "@plane/types"; // constants type Props = { className?: string; color?: string; height?: string; stateGroup: TStateGroups; width?: string; }; export const StateGroupIcon: React.FC = ({ className = "", color, height = "12px", width = "12px", stateGroup, }) => { if (stateGroup === "backlog") return ( ); else if (stateGroup === "cancelled") return ( ); else if (stateGroup === "completed") return ( ); else if (stateGroup === "started") return ( ); else return ( ); };