import React from "react";
//#region src/components/scanOrder/components/ErrorState/index.tsx
function ErrorState(props) {
	const { title = "Error", message, onRetry } = props;
	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);
}
//#endregion
export { ErrorState as default };
