import { ReactElement } from 'react';
import { Card, CardContent, CardMedia, Stack, Typography } from '@mui/material';

const MarketStatistics = (): ReactElement => {
    return(
        <Card
      sx={(theme) => ({
        boxShadow: theme.shadows[4],
        width: 1,
        height: 'auto',
      })}
    >
        <CardContent
                sx={{
                  flex: '1 1 auto',
                  padding: 0,
                  ':last-child': {
                    paddingBottom: 0,
                  },
                }}
              >
                <Stack direction="row" justifyContent="space-between" alignItems="center" flexWrap="wrap">
                    <Typography variant="subtitle1" component="p" minWidth={100} color="text.primary">
                        Market Statistics
                    </Typography>
                    
                </Stack>
                <Stack direction="column" justifyContent="space-between" flexWrap="wrap">
                <Typography>
                    Average Market Time: <b>10</b> days on the market
                </Typography>
                <Typography>
                    Price per Sq Ft: <b>$189</b> (neighborhood avg $175)
                </Typography>
                <Typography>
                    Listing Activity: <b>5</b> homes sold in the last 30 days
                </Typography>
                <Typography>
                    Compariable asking vs selling price: +$10k
                </Typography>
                </Stack>



              </CardContent>

        
    </Card>
    )

}

export default MarketStatistics;