"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var FallbackComponent_exports = {};
__export(FallbackComponent_exports, {
  FallbackComponent: () => FallbackComponent
});
module.exports = __toCommonJS(FallbackComponent_exports);
var import_jsx_runtime = require("react/jsx-runtime");
var import_react = require("react");
var import_use_style = require("../../../runtimes/react/use-style");
var import_Warning20 = require("../../icons/Warning20");
const FallbackComponent = (0, import_react.forwardRef)(function FallbackComponent2({ text }, ref) {
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
    "div",
    {
      ref,
      className: (0, import_use_style.useStyle)({
        width: "100%",
        height: 54,
        backgroundColor: "#fcedf2",
        borderRadius: 6,
        padding: 16,
        display: "flex",
        alignItems: "center",
        gap: 8,
        color: "#c73e6d",
        fill: "currentColor",
        fontFamily: "Heebo, sans-serif",
        fontSize: 16
      }),
      children: [
        /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_Warning20.Warning20, {}),
        /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: text })
      ]
    }
  );
});
// Annotate the CommonJS export names for ESM import in node:
0 && (module.exports = {
  FallbackComponent
});
//# sourceMappingURL=FallbackComponent.js.map