Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 3040 Rev 3694
Línea 1... Línea 1...
1
import React from 'react'
1
import React from 'react';
2
import { Box, IconButton, Typography } from '@mui/material'
2
import Delete from '@mui/icons-material/Delete';
3
import { Delete, Edit } from '@mui/icons-material'
3
import Edit from '@mui/icons-material/Edit';
-
 
4
import { Box, IconButton, Typography } from '@mui/material';
Línea 4... Línea 5...
4
 
5
 
Línea 5... Línea 6...
5
import { parse } from '@utils'
6
import { parse } from '@utils';
6
 
7
 
7
export default function EducationItem({
8
export default function EducationItem({
8
  education = {},
9
  education = {},
9
  onDelete = () => {},
10
  onDelete = () => {},
10
  onEdit = () => {},
11
  onEdit = () => {},
11
  edit = false
-
 
12
}) {
-
 
13
  const {
-
 
14
    university,
-
 
15
    field_of_study,
-
 
16
    degree,
-
 
17
    from_year,
12
  edit = false
18
    to_year,
-
 
19
    formatted_address,
13
}) {
Línea 20... Línea 14...
20
    description
14
  const { university, field_of_study, degree, from_year, to_year, formatted_address, description } =
21
  } = education
15
    education;
22
 
16
 
23
  return (
17
  return (
Línea 58... Línea 52...
58
            <Delete />
52
            <Delete />
59
          </IconButton>
53
          </IconButton>
60
        </Box>
54
        </Box>
61
      )}
55
      )}
62
    </Box>
56
    </Box>
63
  )
57
  );
64
}
58
}