@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/test.native.js
CHANGED
|
@@ -7379,12 +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, isForwardedRefAlready = ((_Component_render = Component2.render) === null || _Component_render === void 0 ? void 0 : _Component_render.length) === 2
|
|
7383
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component2, {
|
|
7384
|
-
...props,
|
|
7385
|
-
ref
|
|
7386
|
-
});
|
|
7387
|
-
}), extendedConfig = extendStyledConfig(options == null ? void 0 : options.staticConfig);
|
|
7382
|
+
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);
|
|
7388
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;
|
|
7389
7384
|
}
|
|
7390
7385
|
return res.extractable = extractable, res.styleable = styleable, res;
|