Skip to content

Commit 6b9fbf3

Browse files
authored
Merge pull request #48 from OrigenStudio/fix/updated-drawer-for-v1
updated drawer for v1
2 parents cb78ff9 + effd283 commit 6b9fbf3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/templates/Drawer/DrawerItemsList/DrawerItemsList.jsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ import map from 'lodash/map';
22
import React from 'react';
33
import PropTypes from 'prop-types';
44
import { withStyles } from '@material-ui/core/styles';
5-
import List, { ListItem, ListItemIcon, ListItemText } from '@material-ui/core/List';
5+
import List from '@material-ui/core/List';
6+
import ListItem from '@material-ui/core/ListItem';
7+
import ListItemIcon from '@material-ui/core/ListItemIcon';
8+
import ListItemText from '@material-ui/core/ListItemText';
69
import Icon from '@material-ui/core/Icon';
710

811
import styles from './styles';
@@ -13,7 +16,7 @@ class DrawerItemsList extends React.PureComponent {
1316
classes: PropTypes.shape({}),
1417
};
1518

16-
renderIcon = (item) => {
19+
renderIcon = item => {
1720
if (item.icon) {
1821
return <item.icon />;
1922
} else if (item.iconName) {

0 commit comments

Comments
 (0)