import ChevronRightIcon from '@material-ui/icons/ChevronRight';
import { withStyles } from '@material-ui/core';
import { IllegalNamingWarning } from '../warning/warning';
-import { IconType } from 'components/icon/icon';
+import { IconType, LockIcon } from 'components/icon/icon';
import grey from '@material-ui/core/colors/grey';
export interface Breadcrumb {
label: string;
icon?: IconType;
+ isFrozen?: boolean;
}
type CssRules = "item" | "currentItem" | "label" | "icon";
onClick={() => onClick(item)}
onContextMenu={event => onContextMenu(event, item)}>
<Icon className={classes.icon} />
+ {
+ item.isFrozen ? <LockIcon className={classes.icon} /> : null
+ }
<Typography
noWrap
color="inherit"