Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3716 Rev 3717
Línea 1... Línea 1...
1
import React from 'react';
1
import React from 'react';
2
import { Box, Modal as MuiModal } from '@mui/material';
2
import { Box, Modal as MuiModal, IconButton } from '@mui/material';
-
 
3
import Close from '@mui/icons-material/Close';
Línea 3... Línea 4...
3
 
4
 
4
import { useModal } from '@shared/hooks';
5
import { useModal } from '@shared/hooks';
Línea 5... Línea 6...
5
import { Card, CardHeader, CardContent } from './card';
6
import { Card, CardHeader, CardContent } from './card';
Línea 21... Línea 22...
21
          width: '100%',
22
          width: '100%',
22
          height: '100%'
23
          height: '100%'
23
        }}
24
        }}
24
      >
25
      >
25
        <Card styles={{ width: '100%', maxWidth: { xs: '90vw', md: '500px', lg: '800px' } }}>
26
        <Card styles={{ width: '100%', maxWidth: { xs: '90vw', md: '500px', lg: '800px' } }}>
-
 
27
          <CardHeader
26
          <CardHeader title={title} />
28
            title={title}
-
 
29
            renderAction={
-
 
30
              <IconButton onClick={closeModal}>
-
 
31
                <Close />
-
 
32
              </IconButton>
-
 
33
            }
-
 
34
          />
27
          <CardContent styles={{ maxHeight: '70vh', overflowY: 'auto' }}>{content}</CardContent>
35
          <CardContent styles={{ maxHeight: '70vh', overflowY: 'auto' }}>{content}</CardContent>
28
        </Card>
36
        </Card>
29
      </Box>
37
      </Box>
30
    </MuiModal>
38
    </MuiModal>
31
  );
39
  );