1234567891011121314151617181920212223242526272829303132333435363738394041 |
- import * as React from 'react';
- import {
- Card, CardActions, CardContent, Button, Typography,
- CardMedia, CardActionArea,
- } from '@mui/material'
- import QA from '../../Images/puesto.jpg'
- export function TestCard(props) {
- let { test } = props;
- console.log("TEST :: ", test)
- return (
- <Card className="card_test" elevation={0} sx={{ maxWidth: 500, maxHeight : 500 }}>
- <CardActionArea>
- <CardMedia
- component="img"
- height="140"
- image={QA}
- alt="green iguana"
- />
- <CardContent>
- <Typography gutterBottom variant="h5" component="div">
- {test.nombre}
- </Typography>
- <Typography variant="body2" color="text.secondary">
- {test.descripcion}
- </Typography>
- </CardContent>
- </CardActionArea>
- <CardActions>
- <Button size="small" color="primary">
- Realizar
- </Button>
- </CardActions>
- </Card>
- )
- }
|