UNPKG

@shopgate/engage

Version:
26 lines (25 loc) 651 B
import React from 'react'; import PropTypes from 'prop-types'; import CheckoutConfirmationSection from "./CheckoutConfirmationSection"; /** * CheckoutConfirmationPickupNotes component * @returns {JSX} */ import { jsx as _jsx } from "react/jsx-runtime"; const CheckoutConfirmationPickupNotes = ({ order, className }) => { if (!order.notes) { return null; } return /*#__PURE__*/_jsx(CheckoutConfirmationSection, { title: "checkout.success.pickup_notes", content: order.notes, className: className }); }; CheckoutConfirmationPickupNotes.defaultProps = { className: null }; export default CheckoutConfirmationPickupNotes;