@tamagui/core 1.129.2 → 1.129.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7379,7 +7379,7 @@ var require_createComponent_native = __commonJS({
7379
7379
  return Component2.staticConfig = extendStyledConfig(extended), Component2.styleable = styleable, Component2;
7380
7380
  }
7381
7381
  function styleable(Component2, options) {
7382
- var _Component_render, skipForwardRef = import_constants2.IS_REACT_19 && typeof Component2 == "function" || ((_Component_render = Component2.render) === null || _Component_render === void 0 ? void 0 : _Component_render.length) === 2, out = skipForwardRef ? Component2 : /* @__PURE__ */ import_react3.default.forwardRef(Component2), extendedConfig = extendStyledConfig(options == null ? void 0 : options.staticConfig);
7382
+ var _Component_render, skipForwardRef = import_constants2.IS_REACT_19 && typeof Component2 == "function" && Component2.length === 1 || ((_Component_render = Component2.render) === null || _Component_render === void 0 ? void 0 : _Component_render.length) === 2, out = skipForwardRef ? Component2 : /* @__PURE__ */ import_react3.default.forwardRef(Component2), extendedConfig = extendStyledConfig(options == null ? void 0 : options.staticConfig);
7383
7383
  return out = options != null && options.disableTheme ? out : (0, import_themeable.themeable)(out, extendedConfig, !0), process.env.TAMAGUI_MEMOIZE_STYLEABLE && (out = /* @__PURE__ */ import_react3.default.memo(out)), out.staticConfig = extendedConfig, out.styleable = styleable, out;
7384
7384
  }
7385
7385
  return res.extractable = extractable, res.styleable = styleable, res;