Rev 3482 | Ir a la última revisión | 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>
);
}