feat(SW-184): added some translations
This commit is contained in:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user