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

const HomePriceEstimate = (): 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="h3" minWidth={100} color="text.primary">
                        Home Price Estimate
                    </Typography>
                    
                </Stack>
                <Stack direction="column" justifyContent="space-between" flexWrap="wrap">
                <Typography>
                    <b>$700,500k</b>
                </Typography>
                <Typography>
                    Estimated value range: $335,000 - $365,000
                </Typography>
                <Typography>
                    Last updated: June 15, 2023
                </Typography>
                <Divider />
                <Typography>
                    This estimate is based on recent sales and market trends in your area.
                </Typography>
                </Stack>



              </CardContent>

        
    </Card>
    )

}

export default HomePriceEstimate;