SW-3270 move interactive map to design system or booking flow * wip * wip * merge * wip * add support for locales in design-system * add story for HotelCard * setup alias * . * remove tracking from design-system for hotelcard * pass isUserLoggedIn * export design-system-new-deprecated.css from design-system * Add HotelMarkerByType to Storybook * Add interactive map to Storybook * fix reactintl in vitest * rename env variables * . * fix background colors * add storybook stories for <Link /> * merge * fix tracking for when clicking 'See rooms' in InteractiveMap * Merge branch 'master' of bitbucket.org:scandic-swap/web into SW-3270-move-interactive-map-to-design-system-or-booking-flow * remove deprecated comment Approved-by: Anton Gunnarsson
26 lines
758 B
TypeScript
26 lines
758 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 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>
|
|
)
|
|
}
|