Proyectos de Subversion LeadersLinked - SPA

Rev

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

Rev 1751 Rev 1752
Línea 28... Línea 28...
28
  const handleExpandClick = () => {
28
  const handleExpandClick = () => {
29
    setExpanded(!expanded)
29
    setExpanded(!expanded)
30
  }
30
  }
Línea 31... Línea 31...
31
 
31
 
32
  return (
32
  return (
33
    <Card sx={{ maxWidth: 345 }}>
33
    <Card sx={{ maxWidth: 345, margin: '0 auto' }}>
34
      <CardHeader
34
      <CardHeader
35
        avatar={<Avatar src={image} alt={name} />}
35
        avatar={<Avatar src={image} alt={name} />}
36
        title={`${first_name} ${last_name}`}
36
        title={`${first_name} ${last_name}`}
37
        subheader={date}
37
        subheader={date}
38
        sx={{ p: 1 }}
38
        sx={{ p: 1 }}
Línea 39... Línea 39...
39
      />
39
      />
40
 
40
 
41
      <CardContent sx={{ p: 1 }}>
41
      <CardContent sx={{ p: 1, '& p': { marginBottom: 1 } }}>
42
        <Typography paragraph>
42
        <Typography paragraph>
43
          <Typography variant='body2'>Tipo: </Typography>
43
          <Typography variant='body2'>Tipo: </Typography>
44
          {type}
44
          {type}
Línea 62... Línea 62...
62
          Detalles
62
          Detalles
63
        </Button>
63
        </Button>
64
      </CardActions>
64
      </CardActions>
Línea 65... Línea 65...
65
 
65
 
66
      <Collapse in={expanded} timeout='auto' unmountOnExit>
66
      <Collapse in={expanded} timeout='auto' unmountOnExit>
67
        <CardContent sx={{ p: 1 }}>
67
        <CardContent sx={{ p: 1, '& p': { marginBottom: 1 } }}>
68
          <Typography variant='body1'>Comentario:</Typography>
68
          <Typography variant='body1'>Comentario:</Typography>
69
          <Typography paragraph>{commet}</Typography>
69
          <Typography paragraph>{commet}</Typography>
70
        </CardContent>
70
        </CardContent>
71
      </Collapse>
71
      </Collapse>