+
{percentage}%
-+
The feature has been requested 0 times and exposed 0 times in the last hour
diff --git a/frontend/src/utils/strategyNames.ts b/frontend/src/utils/strategyNames.tsx similarity index 82% rename from frontend/src/utils/strategyNames.ts rename to frontend/src/utils/strategyNames.tsx index da608aa082..e5b2bd500b 100644 --- a/frontend/src/utils/strategyNames.ts +++ b/frontend/src/utils/strategyNames.tsx @@ -1,15 +1,24 @@ +import { FC, ElementType } from 'react'; +import { SvgIcon } from '@mui/material'; import LocationOnIcon from '@mui/icons-material/LocationOn'; import PeopleIcon from '@mui/icons-material/People'; import LanguageIcon from '@mui/icons-material/Language'; import PowerSettingsNewIcon from '@mui/icons-material/PowerSettingsNew'; import CodeIcon from '@mui/icons-material/Code'; import { ReactComponent as RolloutIcon } from 'assets/icons/rollout.svg'; -import { ElementType } from 'react'; export const formatStrategyName = (strategyName: string): string => { return formattedStrategyNames[strategyName] ?? strategyName; }; +const RolloutSvgIcon: FC = props => ( +