import { BacklogStateIcon, CancelledStateIcon, CompletedStateIcon, StartedStateIcon, UnstartedStateIcon, } from "components/icons"; // constants import { STATE_GROUP_COLORS } from "constants/state"; export const getStateGroupIcon = ( stateGroup: "backlog" | "unstarted" | "started" | "completed" | "cancelled", width = "20", height = "20", color?: string ) => { switch (stateGroup) { case "backlog": return ( ); case "unstarted": return ( ); case "started": return ( ); case "completed": return ( ); case "cancelled": return ( ); default: return <>; } };