feat(SW-184): added some translations

This commit is contained in:
Erik Tiekstra
2024-08-20 15:45:04 +02:00
parent b37cc7a34c
commit c6ad5eecc5
11 changed files with 31 additions and 15 deletions

View File

@@ -1,12 +1,18 @@
"use client"
import { useIntl } from "react-intl"
import { SearchIcon } from "@/components/Icons"
import Button from "../Button"
export default function Search() {
const intl = useIntl()
return (
<Button>
<SearchIcon width={20} height={20} color="burgundy" />
<span>Find Booking</span>
{intl.formatMessage({ id: "Find booking" })}
</Button>
)
}