Fix/SW-1524: Enter details- expand clickable area * fix(SW-1524): make whole price area clickable * fix(SW-1524): add div as fake button Approved-by: Bianca Widstam Approved-by: Erik Tiekstra
26 lines
766 B
TypeScript
26 lines
766 B
TypeScript
import { useIntl } from "react-intl"
|
|
|
|
import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
|
|
import { Typography } from "@scandic-hotels/design-system/Typography"
|
|
|
|
import styles from "./noPriceAvailable.module.css"
|
|
|
|
export default function NoPriceAvailableCard() {
|
|
const intl = useIntl()
|
|
return (
|
|
<div className={styles.priceCard}>
|
|
<div className={styles.noRooms}>
|
|
<MaterialIcon icon="error" color="Icon/Feedback/Error" />
|
|
<Typography variant="Body/Paragraph/mdRegular">
|
|
<span>
|
|
{intl.formatMessage({
|
|
defaultMessage:
|
|
"There are no rooms available that match your request.",
|
|
})}
|
|
</span>
|
|
</Typography>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|