@tamagui/core 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
@@ -7075,7 +7075,7 @@ var require_themeable_native = __commonJS({
7075
7075
  module2.exports = __toCommonJS2(themeable_exports);
7076
7076
  var import_jsx_runtime = require("react/jsx-runtime"), import_react3 = __toESM2(require("react")), import_Theme = require_Theme_native();
7077
7077
  function themeable(Component, staticConfig) {
7078
- var optimize = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, withThemeComponent = function(props, ref) {
7078
+ var optimize = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1, withThemeComponent = /* @__PURE__ */ import_react3.default.forwardRef(function(props, ref) {
7079
7079
  var { themeInverse, theme, componentName, themeReset, ...rest } = props, overriddenContextProps, context = staticConfig == null ? void 0 : staticConfig.context;
7080
7080
  if (context) for (var key in context.props) {
7081
7081
  var val = props[key];
@@ -7104,8 +7104,8 @@ var require_themeable_native = __commonJS({
7104
7104
  });
7105
7105
  }
7106
7106
  return contents;
7107
- }, withTheme = withThemeComponent;
7108
- 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);
7107
+ }), withTheme = withThemeComponent;
7108
+ return withTheme.displayName = `Themed(${(Component == null ? void 0 : Component.displayName) || (Component == null ? void 0 : Component.name) || "Anonymous"})`, withTheme;
7109
7109
  }
7110
7110
  }
7111
7111
  });