Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 2270 Rev 2274
Línea 34... Línea 34...
34
 
34
 
35
export function WidgetHeader({
35
export function WidgetHeader({
36
  title = '',
36
  title = '',
37
  subheader = '',
37
  subheader = '',
-
 
38
  avatar = '',
38
  avatar = '',
39
  optionsIcon,
39
  options = [],
40
  options = [],
40
  styles,
41
  styles,
41
  ...props
42
  ...props
42
}) {
43
}) {
Línea 60... Línea 61...
60
            onClick={handleClick}
61
            onClick={handleClick}
61
            sx={{
62
            sx={{
62
              display: options.length > 0 ? 'block' : 'none'
63
              display: options.length > 0 ? 'block' : 'none'
63
            }}
64
            }}
64
          >
65
          >
65
            <MoreVert />
66
            {optionsIcon ?? <MoreVert />}
66
          </IconButton>
67
          </IconButton>
67
          <Menu
68
          <Menu
68
            id='settings-menu'
69
            id='settings-menu'
69
            aria-labelledby='settings-button'
70
            aria-labelledby='settings-button'
70
            anchorEl={anchorEl}
71
            anchorEl={anchorEl}