Files
web/components/Current/Header/BookingButton/index.tsx
2024-06-05 13:25:10 +02:00

17 lines
375 B
TypeScript

"use client"
import "@scandic-hotels/design-system/current/style.css"
import { useIntl } from "react-intl"
import styles from "./bookingButton.module.css"
export default function BookingButton({ href }: { href: string }) {
const { formatMessage } = useIntl()
return (
<a className={styles.button} href={href}>
{formatMessage({ id: "Book" })}
</a>
)
}