UNPKG

@open-formulieren/formio-builder

Version:

An opinionated Formio webform builder for Open Forms

24 lines (23 loc) 635 B
import { jsxs as r, jsx as e } from "react/jsx-runtime"; import { useIntl as a, FormattedMessage as l } from "react-intl"; const i = ({ error: t }) => { const s = a(); return /* @__PURE__ */ r("div", { title: s.formatMessage({ id: "KvSkZT", defaultMessage: [{ type: 0, value: "Oops!" }] }), children: [ /* @__PURE__ */ e("div", { className: "alert alert-danger", children: /* @__PURE__ */ e(l, { id: "KMs17v", defaultMessage: [{ type: 0, value: "Unfortunately something went wrong!" }] }) }), /* @__PURE__ */ e("p", { children: t.message }) ] }); }; export { i as default };