@shopgate/engage
Version:
Shopgate's ENGAGE library.
21 lines (20 loc) • 621 B
JavaScript
import React from 'react';
import { i18n } from "../../../core/helpers/i18n";
import { container, heading, body } from "./ReservationResponse.style";
/**
* Renders the reservation error screen.
* @returns {JSX}
*/
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
export function ReservationError() {
return /*#__PURE__*/_jsxs("div", {
className: container,
children: [/*#__PURE__*/_jsx("h2", {
className: heading,
children: i18n.text('locations.error_title')
}), /*#__PURE__*/_jsx("p", {
className: body,
children: i18n.text('locations.error_copy')
})]
});
}