feat(SW-644): rename prop name

This commit is contained in:
Fredrik Thorsson
2024-12-04 15:54:46 +01:00
parent 50611d1be2
commit 5453cddd3a
3 changed files with 6 additions and 6 deletions

View File

@@ -17,7 +17,7 @@ import { IconName } from "@/types/components/icon"
export default async function ParkingAmenity({
parking,
contentPageLink,
parkingPageLink,
}: ParkingAmenityProps) {
const intl = await getIntl()
@@ -82,14 +82,14 @@ export default async function ParkingAmenity({
</div>
))}
</div>
{contentPageLink && (
{parkingPageLink && (
<Button
className={styles.contentPageLink}
className={styles.parkingPageLink}
theme="base"
intent="secondary"
asChild
>
<Link href={contentPageLink} color="burgundy" weight="bold">
<Link href={parkingPageLink} color="burgundy" weight="bold">
{intl.formatMessage({ id: "About parking" })}
</Link>
</Button>

View File

@@ -19,6 +19,6 @@
gap: var(--Spacing-x1);
}
.contentPageLink {
.parkingPageLink {
margin-top: var(--Spacing-x2);
}

View File

@@ -8,7 +8,7 @@ export enum Periods {
export type ParkingAmenityProps = {
parking: Hotel["parking"]
contentPageLink?: string
parkingPageLink?: string
}
export type ParkingListProps = {