Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3290 Rev 3291
Línea 1... Línea 1...
1
import React, { lazy, Suspense, useState } from 'react'
1
import React, { lazy, Suspense, useState } from 'react'
2
import { Badge, IconButton, Avatar as MuiAvatar } from '@mui/material'
2
import { Badge, IconButton, Avatar as MuiAvatar } from '@mui/material'
3
import { Edit } from '@mui/icons-material'
3
import { Edit } from '@mui/icons-material'
-
 
4
import colors from '@styles/colors'
Línea 4... Línea 5...
4
 
5
 
Línea 5... Línea 6...
5
const ImageModal = lazy(() => import('@components/modals/ImageModal'))
6
const ImageModal = lazy(() => import('@components/modals/ImageModal'))
6
 
7
 
Línea 25... Línea 26...
25
        <Badge
26
        <Badge
26
          overlap='circular'
27
          overlap='circular'
27
          anchorOrigin={{ vertical: 'top', horizontal: 'right' }}
28
          anchorOrigin={{ vertical: 'top', horizontal: 'right' }}
28
          sx={badgeStyles}
29
          sx={badgeStyles}
29
          badgeContent={
30
          badgeContent={
-
 
31
            <IconButton
-
 
32
              sx={{
-
 
33
                backgroundColor: colors.button.background.primary,
-
 
34
                color: colors.button.text.primary,
-
 
35
                ':hover': {
-
 
36
                  backgroundColor: colors.button.background.primary,
-
 
37
                  color: colors.button.text.primary,
-
 
38
                  opacity: 0.9
-
 
39
                }
-
 
40
              }}
-
 
41
              color='primary'
30
            <IconButton color='primary' onClick={toggleModal}>
42
              onClick={toggleModal}
-
 
43
            >
31
              <Edit />
44
              <Edit />
32
            </IconButton>
45
            </IconButton>
33
          }
46
          }
34
        >
47
        >
35
          <MuiAvatar src={image} alt={alt} sx={styles} {...props} icon />
48
          <MuiAvatar src={image} alt={alt} sx={styles} {...props} icon />