const require_runtime = require("../../../../_virtual/_rolldown/runtime.js");
let react = require("react");
react = require_runtime.__toESM(react);
//#region src/components/scanOrder/components/ErrorState/index.tsx
function ErrorState(props) {
	const { title = "Error", message, onRetry } = props;
	return /* @__PURE__ */ react.default.createElement("div", { className: "pisell-scan-order-error-state" }, /* @__PURE__ */ react.default.createElement("h3", null, title), /* @__PURE__ */ react.default.createElement("p", null, message), onRetry ? /* @__PURE__ */ react.default.createElement("button", {
		type: "button",
		onClick: onRetry
	}, "Retry") : null);
}
//#endregion
exports.default = ErrorState;
