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.20.0" }; var t = new e.Error().stack; t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "7200ccf7-b72f-4cd9-8382-c6eb33405a9b", e._sentryDebugIdIdentifier = "sentry-dbid-7200ccf7-b72f-4cd9-8382-c6eb33405a9b"); } catch {} })(); import { t as e } from "./jsx-runtime-BRhWrtmW.js"; import { t } from "./settings-item-CAMlHscI.js"; import { t as n } from "./text-field-DHhTARyo.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 };