X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/c11055f2d6ce8385088bc221eab1175e31777ec0..acbcc3e7ea8c92dc96f0b481c8b54ff7c294d273:/src/components/list-item-text-icon/list-item-text-icon.tsx diff --git a/src/components/list-item-text-icon/list-item-text-icon.tsx b/src/components/list-item-text-icon/list-item-text-icon.tsx index b34c6ab5f9..29768c050f 100644 --- a/src/components/list-item-text-icon/list-item-text-icon.tsx +++ b/src/components/list-item-text-icon/list-item-text-icon.tsx @@ -17,14 +17,14 @@ const styles: StyleRulesCallback = (theme: ArvadosTheme) => ({ alignItems: 'center' }, listItemText: { - fontWeight: 700 + fontWeight: 400 }, active: { color: theme.palette.primary.main, }, hasMargin: { marginLeft: `${theme.spacing.unit}px`, - }, + } }); export interface ListItemTextIconDataProps { @@ -32,6 +32,7 @@ export interface ListItemTextIconDataProps { name: string; isActive?: boolean; hasMargin?: boolean; + iconSize?: number; } type ListItemTextIconProps = ListItemTextIconDataProps & WithStyles; @@ -39,14 +40,15 @@ type ListItemTextIconProps = ListItemTextIconDataProps & WithStyles; export const ListItemTextIcon = withStyles(styles)( class extends React.Component { render() { - const { classes, isActive, hasMargin, name, icon: Icon } = this.props; + const { classes, isActive, hasMargin, name, icon: Icon, iconSize } = this.props; return ( - + +