feat: change class name
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
font-size: var(--typography-Caption-Regular-fontSize);
|
font-size: var(--typography-Caption-Regular-fontSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
.labels {
|
.chips {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: var(--Spacing-x1);
|
gap: var(--Spacing-x1);
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ export default function HotelCard({ hotel }: HotelCardData) {
|
|||||||
<span>{hotel.address}</span>
|
<span>{hotel.address}</span>
|
||||||
<span>{hotel.description}</span>
|
<span>{hotel.description}</span>
|
||||||
</div>
|
</div>
|
||||||
<div className={styles.labels}>
|
<div className={styles.chips}>
|
||||||
{hotel.label.map((chip, index) => (
|
{hotel.label.map((chip, index) => (
|
||||||
<Chip key={`chip-${index}`}>{chip}</Chip>
|
<Chip key={`chip-${index}`}>{chip}</Chip>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user