Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3289 Rev 3290
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 5... Línea 4...
5
 
4
 
Línea 6... Línea 5...
6
const ImageModal = lazy(() => import('@components/modals/ImageModal'))
5
const ImageModal = lazy(() => import('@components/modals/ImageModal'))
7
 
6
 
Línea 26... Línea 25...
26
        <Badge
25
        <Badge
27
          overlap='circular'
26
          overlap='circular'
28
          anchorOrigin={{ vertical: 'top', horizontal: 'right' }}
27
          anchorOrigin={{ vertical: 'top', horizontal: 'right' }}
29
          sx={badgeStyles}
28
          sx={badgeStyles}
30
          badgeContent={
29
          badgeContent={
31
            <IconButton
-
 
32
              sx={{
-
 
33
                backgroundColor: colors.button.background.primary,
-
 
34
                color: colors.button.text.primary
-
 
35
              }}
-
 
36
              onClick={toggleModal}
30
            <IconButton color='primary' onClick={toggleModal}>
37
            >
-
 
38
              <Edit />
31
              <Edit />
39
            </IconButton>
32
            </IconButton>
40
          }
33
          }
41
        >
34
        >
42
          <MuiAvatar src={image} alt={alt} sx={styles} {...props} icon />
35
          <MuiAvatar src={image} alt={alt} sx={styles} {...props} icon />