UNPKG

@expofp/floorplan

Version:

Interactive floor plan library for expos and events

31 lines (30 loc) • 1.18 kB
(function() { try { var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {}; e.SENTRY_RELEASE = { id: "3.39.1" }; var t = new e.Error().stack; t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "60721b8a-321f-4fe8-a1d4-1f67c13d24f0", e._sentryDebugIdIdentifier = "sentry-dbid-60721b8a-321f-4fe8-a1d4-1f67c13d24f0"); } catch {} })(); import { t as e } from "./jsx-runtime-BGutO_I9.js"; import { t } from "./settings-item-BMVccHn4.js"; import { t as n } from "./text-field-B93LMty4.js"; //#region ../debug/src/lib/ui/optional-string-editor.tsx var r = e(), i = (e) => { var i, a, o; return /* @__PURE__ */ (0, r.jsx)(t, { label: e.label, children: /* @__PURE__ */ (0, r.jsx)(n, { placeholder: (i = (a = e.context) == null ? void 0 : a.placeholder) == null ? "default" : i, value: (o = e.value) == null ? "" : o, onChange: (t) => e.onChange(t.target.value === "" ? void 0 : t.target.value), style: { flexGrow: 1, minWidth: 220 } }) }); }; i.displayName = "OptionalStringEditor"; //#endregion export { i as OptionalStringEditor };