import React from 'react';
export default function ErrorState(props) {
  var _props$title = props.title,
    title = _props$title === void 0 ? 'Error' : _props$title,
    message = props.message,
    onRetry = props.onRetry;
  return /*#__PURE__*/React.createElement("div", {
    className: "pisell-scan-order-error-state"
  }, /*#__PURE__*/React.createElement("h3", null, title), /*#__PURE__*/React.createElement("p", null, message), onRetry ? /*#__PURE__*/React.createElement("button", {
    type: "button",
    onClick: onRetry
  }, "Retry") : null);
}