Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 2809 | Rev 2819 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 2809 Rev 2818
Línea 43... Línea 43...
43
      avatar={avatar ? <Avatar alt={title} src={avatar} /> : null}
43
      avatar={avatar ? <Avatar alt={title} src={avatar} /> : null}
44
      action={renderAction()}
44
      action={renderAction()}
45
      title={title}
45
      title={title}
46
      subheader={subheader}
46
      subheader={subheader}
47
      titleTypographyProps={{
47
      titleTypographyProps={{
48
        sx: { fontSize: '16px', fontWeight: 600, color: 'var(--title-color)' },
48
        variant: 'h3',
49
        onClick
49
        onClick
50
      }}
50
      }}
51
      subheaderTypographyProps={{
51
      subheaderTypographyProps={{
52
        sx: { fontSize: '14px', color: 'var(--subtitle-color)' }
52
        variant: 'body2'
53
      }}
53
      }}
54
      sx={{ padding: 1, paddingBottom: 0, ...styles }}
54
      sx={{ padding: 1, ...styles }}
55
      {...props}
55
      {...props}
56
    />
56
    />
57
  )
57
  )
58
}
58
}
Línea 59... Línea 59...
59
 
59
 
60
export function WidgetBody({ children, styles = {}, ...props }) {
60
export function WidgetBody({ children, styles = {}, ...props }) {
61
  return (
-
 
62
    <CardContent
61
  return (
63
      sx={{ padding: 1, '&:last-child': { paddingBottom: 1 }, ...styles }}
-
 
64
      {...props}
-
 
65
    >
62
    <CardContent sx={{ paddingY: 0, paddingX: 1, ...styles }} {...props}>
66
      {children}
63
      {children}
67
    </CardContent>
64
    </CardContent>
68
  )
65
  )
Línea 69... Línea 66...
69
}
66
}
70
 
67
 
71
export function WidgetActions({ children, styles = {}, ...props }) {
68
export function WidgetActions({ children, styles = {}, ...props }) {
72
  return (
69
  return (
73
    <CardActions
70
    <CardActions
74
      sx={{
-
 
75
        padding: 1,
71
      sx={{
76
        paddingTop: 0,
72
        padding: 1,
77
        justifyContent: 'space-around',
73
        justifyContent: 'space-around',
78
        gap: 1,
74
        gap: 1,
79
        '& > button': {
75
        '& > button': {