import { IllegalNamingWarning } from '../warning/warning';
import { IconType, FreezeIcon } from 'components/icon/icon';
import grey from '@material-ui/core/colors/grey';
import { IllegalNamingWarning } from '../warning/warning';
import { IconType, FreezeIcon } from 'components/icon/icon';
import grey from '@material-ui/core/colors/grey';
const isLastItem = index === items.length - 1;
const isFirstItem = index === 0;
const Icon = item.icon || (() => (null));
const isLastItem = index === items.length - 1;
const isFirstItem = index === 0;
const Icon = item.icon || (() => (null));
onContextMenu={event => onContextMenu(event, item)}>
<Icon className={classes.icon} />
<Typography
onContextMenu={event => onContextMenu(event, item)}>
<Icon className={classes.icon} />
<Typography