事实证明,这;
是解决这个问题的关键。
PropertyCardNew 示例:
```jsx
import FavoriteBorder from '@material-ui/icons/FavoriteBorder'
import Favorite from '@material-ui/icons/Favorite'
;<PropertyCardNew
images={
[
{
url: 'https://www.commerciallistings.cbre.co.uk//resources/fileassets/GB-Plus-480572/09e35192/11%20Strand%201_Photo_1_small.jpg',
alt: "An Image"
},
{
url: 'https://www.commerciallistings.cbre.co.uk//resources/fileassets/GB-Plus-480572/09e35192/11%20Strand%201_Photo_1_small.jpg',
alt: "An Image"
}
]
}
title="PricewaterhouseCoopers"
favIcon={{
icon: FavoriteBorder,
iconSelected: Favorite,
}}
subTitle="4th floor"
street="313 Stoughton Rd Edgerton, WI 53534-1132"
date="September"
desks="20+"
rent="$5600"
labels={{
date: 'date',
desks: 'desks',
rent: 'Monthly rent',
link: 'Details',
}}
link="https://commerciallistings.cbre.co.uk"
/>
```
我希望这对某人有所帮助。