Skip to content

Commit

Permalink
Merge pull request #848 from etn-ccis/fix/blui-5259-use-router-icon
Browse files Browse the repository at this point in the history
Use router  icon not routerIcon
  • Loading branch information
ektaghag-eaton authored Feb 9, 2024
2 parents 976ae15 + 7ba53d1 commit dc5f89a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const inputConfig: InputConfig = [
typeLabel: 'ReactNode',
description: 'The primary icon',
initialValue: '<Devices />',
options: ['<Devices />', '<RouterIcon />', '<SensorsOff />'],
options: ['<Devices />', '<Router />', '<SensorsOff />'],
required: true,
category: 'Required Props',
},
Expand Down
6 changes: 3 additions & 3 deletions docs/src/shared/utilities.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import Menu from '@mui/icons-material/Menu';
import Place from '@mui/icons-material/Place';
import PinDrop from '@mui/icons-material/PinDrop';
import Remove from '@mui/icons-material/Remove';
import RouterIcon from '@mui/icons-material/Router';
import Router from '@mui/icons-material/Router';
import SensorsOff from '@mui/icons-material/SensorsOff';
import TrendingUp from '@mui/icons-material/TrendingUp';
import TrendingDown from '@mui/icons-material/TrendingDown';
Expand Down Expand Up @@ -88,8 +88,8 @@ export const getIcon = (icon: string, iconProps?: SvgIconProps): JSX.Element | u
return React.createElement(PinDrop, iconProps);
case '<Remove />':
return React.createElement(Remove, iconProps);
case '<RouterIcon />':
return React.createElement(RouterIcon, iconProps);
case '<Router />':
return React.createElement(Router, iconProps);
case '<SensorsOff />':
return React.createElement(SensorsOff, iconProps);
case '<TrendingUp />':
Expand Down

0 comments on commit dc5f89a

Please sign in to comment.