17 lines
377 B
TypeScript
17 lines
377 B
TypeScript
"use client"
|
|
|
|
import "@/public/_static/css/design-system-current-deprecated.css"
|
|
|
|
import { useIntl } from "react-intl"
|
|
|
|
import styles from "./bookingButton.module.css"
|
|
|
|
export default function BookingButton({ href }: { href: string }) {
|
|
const intl = useIntl()
|
|
return (
|
|
<a className={styles.button} href={href}>
|
|
{intl.formatMessage({ id: "Book" })}
|
|
</a>
|
|
)
|
|
}
|