import React from 'react';
export default function Checkout(props) {
  var summary = props.summary,
    onSubmit = props.onSubmit;
  return /*#__PURE__*/React.createElement("div", {
    className: "pisell-scan-order-checkout"
  }, /*#__PURE__*/React.createElement("pre", null, JSON.stringify(summary || {}, null, 2)), /*#__PURE__*/React.createElement("button", {
    type: "button",
    onClick: function onClick() {
      onSubmit();
    }
  }, "Submit Order"));
}