Merged in fix/BOOK-210-update-hotel-card-local-charges (pull request #2835)
fix(BOOK-210): add local charges for Finland and update design for hotel card * fix(BOOK-210): add local charges for Finland and update design for hotel card * feat(BOOK-210): change variant to conditional classname * fix(BOOK-210): update link with icon * fix(BOOK-210): update buttonlink tripadvisor * fix(BOOK-210): switch wrapper logic * fix(BOOK-210): update variants tripadvisor Approved-by: Erik Tiekstra
This commit is contained in:
@@ -5,15 +5,17 @@ import { getIntl } from "@/i18n"
|
||||
|
||||
interface LocalCallChargesProps {
|
||||
country: string
|
||||
className?: string
|
||||
}
|
||||
export default async function LocalCallCharges({
|
||||
country,
|
||||
className,
|
||||
}: LocalCallChargesProps) {
|
||||
const intl = await getIntl()
|
||||
|
||||
return country === Country.Finland ? (
|
||||
<Typography variant="Body/Supporting text (caption)/smRegular">
|
||||
<p>
|
||||
<p className={className}>
|
||||
{intl.formatMessage({
|
||||
defaultMessage: "Price 0,16 €/min + local call charges",
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user