tamagui 1.123.11 → 1.123.13

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.
package/dist/native.js CHANGED
@@ -8174,7 +8174,7 @@ var require_themeable_native = __commonJS({
8174
8174
  module2.exports = __toCommonJS2(themeable_exports);
8175
8175
  var import_jsx_runtime6 = require("react/jsx-runtime"), import_react3 = __toESM2(require("react")), import_Theme = require_Theme_native();
8176
8176
  function themeable3(Component, staticConfig) {
8177
- var optimize = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, withThemeComponent = function(props, ref) {
8177
+ var optimize = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, withThemeComponent = /* @__PURE__ */ import_react3.default.forwardRef(function(props, ref) {
8178
8178
  var { themeInverse, theme, componentName, themeReset, ...rest } = props, overriddenContextProps, context = staticConfig == null ? void 0 : staticConfig.context;
8179
8179
  if (context) for (var key in context.props) {
8180
8180
  var val = props[key];
@@ -8203,8 +8203,8 @@ var require_themeable_native = __commonJS({
8203
8203
  });
8204
8204
  }
8205
8205
  return contents;
8206
- }, withTheme = withThemeComponent;
8207
- return withTheme.displayName = `Themed(${(Component == null ? void 0 : Component.displayName) || (Component == null ? void 0 : Component.name) || "Anonymous"})`, optimize ? withTheme : /* @__PURE__ */ import_react3.default.forwardRef(withTheme);
8206
+ }), withTheme = withThemeComponent;
8207
+ return withTheme.displayName = `Themed(${(Component == null ? void 0 : Component.displayName) || (Component == null ? void 0 : Component.name) || "Anonymous"})`, withTheme;
8208
8208
  }
8209
8209
  }
8210
8210
  });