subprocess: Process;
}
-type ProcessSubprocessesCardProps = ProcessSubprocessesCardDataProps & WithStyles<CssRules>;
+type ProcessSubprocessesCardProps = ProcessSubprocessesCardDataProps & WithStyles<CssRules, true>;
export const ProcessSubprocessesCard = withStyles(styles, { withTheme: true })(
({ classes, onContextMenu, subprocess, theme }: ProcessSubprocessesCardProps) => {
<Typography noWrap variant="body2" className={classes.status}>
{getProcessStatus(subprocess)}
</Typography>
- <IconButton
- className={classes.options}
- aria-label="More options"
- onClick={onContextMenu}>
- <Tooltip title="More options">
+ <Tooltip title="More options">
+ <IconButton
+ className={classes.options}
+ aria-label="More options"
+ onClick={onContextMenu}>
<MoreOptionsIcon />
- </Tooltip>
- </IconButton>
+ </IconButton>
+ </Tooltip>
</div>
}
title={
label="Runtime" value={formatTime(getProcessRuntime(subprocess))} />
</CardContent>
</Card>;
- });
\ No newline at end of file
+ });