@tamagui/core 1.129.0 → 1.129.1
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 +1 -6
- package/dist/native.js.map +1 -1
- package/dist/test.native.js +1 -6
- package/dist/test.native.js.map +1 -1
- package/package.json +8 -8
package/dist/native.js
CHANGED
|
@@ -7948,12 +7948,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
|
|
|
7948
7948
|
return Component2.staticConfig = extendStyledConfig(extended), Component2.styleable = styleable, Component2;
|
|
7949
7949
|
}
|
|
7950
7950
|
function styleable(Component2, options) {
|
|
7951
|
-
var _Component_render, isForwardedRefAlready = ((_Component_render = Component2.render) === null || _Component_render === void 0 ? void 0 : _Component_render.length) === 2
|
|
7952
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component2, {
|
|
7953
|
-
...props,
|
|
7954
|
-
ref
|
|
7955
|
-
});
|
|
7956
|
-
}), extendedConfig = extendStyledConfig(options == null ? void 0 : options.staticConfig);
|
|
7951
|
+
var _Component_render, isForwardedRefAlready = ((_Component_render = Component2.render) === null || _Component_render === void 0 ? void 0 : _Component_render.length) === 2, out = isForwardedRefAlready ? Component2 : /* @__PURE__ */ import_react3.default.forwardRef(Component2), extendedConfig = extendStyledConfig(options == null ? void 0 : options.staticConfig);
|
|
7957
7952
|
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;
|
|
7958
7953
|
}
|
|
7959
7954
|
return res.extractable = extractable, res.styleable = styleable, res;
|