UNPKG

@stlite/browser

Version:
23 lines (22 loc) 716 B
import { Ur as e, dt as t, ti as n } from "./index-Dl4ETd_L-D2oMd1k2.js"; import { n as r } from "./styled-components-BDZ1Vzrp-C65H8d9R.js"; //#region ../react/build/WidgetLabel-CQfHGtry.js function i({ label: i, children: a, disabled: o, labelVisibility: s, htmlFor: c }) { return e(i) ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs(r, { "data-testid": "stWidgetLabel", disabled: o, labelVisibility: s, htmlFor: c, children: [/* @__PURE__ */ n.jsx("span", { "aria-hidden": "true", children: /* @__PURE__ */ n.jsx(t, { source: i, allowHTML: !1, isLabel: !0 }) }), a] }); } //#endregion export { i as t }; //# sourceMappingURL=WidgetLabel-CQfHGtry-udktvHE5.js.map