// icons import { StateGroupBacklogIcon, StateGroupCancelledIcon, StateGroupCompletedIcon, StateGroupStartedIcon, StateGroupUnstartedIcon, } from "components/icons"; // types import { TStateGroups } from "@plane/types"; // constants import { STATE_GROUP_COLORS } from "constants/state"; 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 ( ); };