Proyectos de Subversion LeadersLinked - SPA

Rev

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

import React from 'react';
import { LinearProgress } from '@mui/material';

import { Card, CardContent, CardHeader, CardMedia } from '@shared/components';

export function TopicCard({ topic: { name, image, progress } }) {
  return (
    <Card>
      <CardHeader title={name} />
      <CardMedia src={image} />

      <CardContent>
        <LinearProgress variant='determinate' value={progress} />

        <span>{`${progress}%`}</span>
      </CardContent>
    </Card>
  );
}