text: import React from 'react';
  import { makeStyles } from '@material-ui/core/styles';
  import Card from '@material-ui/core/Card';
  import CardActionArea from '@material-ui/core/CardActionArea';
  import CardActions from '@material-ui/core/CardActions';
  import CardContent from '@material-ui/core/CardContent';
  import CardMedia from '@material-ui/core/CardMedia';
  import Button from '@material-ui/core/Button';
  import Typography from '@material-ui/core/Typography';
  
  const useStyles = makeStyles({
    root: {
      maxWidth: 345,
    },
    media: {
      height: 140,
    },
    typeO: {
      textAlign: 'center',
    },
    btnBottom: {
      display: 'flex',
      justifyContent: 'center',
    }
  });
  
  const products = () => {
    const classes = useStyles();
  
    return (
      <Card className={classes.root} elevation={3}>
        <CardActionArea>
          <CardMedia
            className={classes.media}
            image="https://source.unsplash.com/random?Monitor"
            title="random Monitor"
          />
          <CardContent className={classes.typeO}>
            <Typography gutterBottom variant="h5" component="h2">
              Monitor
            </Typography>
            <Typography variant="body2" color="textSecondary" component="p" >
              we have a wide variety of Monitors - all the latest models...
            </Typography>
          </CardContent>
        </CardActionArea>
        <CardActions className={classes.btnBottom}>
          <Button size="small" color="primary">
            Share
          </Button>
          <Button size="small" color="primary">
            Learn More
          </Button>
        </CardActions>
      </Card>
    );
  };
  
  export default products;
  