Proyectos de Subversion LeadersLinked - SPA

Rev

Rev 3556 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
3719 stevensc 1
import React from 'react';
2
import { LinearProgress } from '@mui/material';
3
 
4
import { Card, CardContent, CardHeader, CardMedia } from '@shared/components';
5
 
6
export function TopicCard({ topic: { name, image, progress } }) {
7
  return (
8
    <Card>
9
      <CardHeader title={name} />
10
      <CardMedia src={image} />
11
 
12
      <CardContent>
13
        <LinearProgress variant='determinate' value={progress} />
14
 
15
        <span>{`${progress}%`}</span>
16
      </CardContent>
17
    </Card>
18
  );
19
}