import { useColorModeValue, Box, Badge, Flex, HStack, Image, } from "@teste-ui/react" import { StarIcon } from "@teste-ui/icons" import { Property } from "../interfaces/Property" export const PropertySummary = ({ property }: { property: Property }) => { const textColor = useColorModeValue("gray.600", "gray.400") return ( {property.imageAlt} {property.isNew && ( New )} {property.beds} beds • {property.baths} baths {property.title} {property.formattedPrice} / wk {Array(5) .fill("") .map((_, i) => ( ))} {property.reviewCount} reviews ) }