tamagui 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 +55 -55
package/dist/test.native.js
CHANGED
|
@@ -8478,12 +8478,7 @@ var require_createComponent_native = __commonJS({
|
|
|
8478
8478
|
return Component2.staticConfig = extendStyledConfig(extended), Component2.styleable = styleable, Component2;
|
|
8479
8479
|
}
|
|
8480
8480
|
function styleable(Component2, options) {
|
|
8481
|
-
var _Component_render, isForwardedRefAlready = ((_Component_render = Component2.render) === null || _Component_render === void 0 ? void 0 : _Component_render.length) === 2
|
|
8482
|
-
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Component2, {
|
|
8483
|
-
...props,
|
|
8484
|
-
ref
|
|
8485
|
-
});
|
|
8486
|
-
}), extendedConfig = extendStyledConfig(options == null ? void 0 : options.staticConfig);
|
|
8481
|
+
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);
|
|
8487
8482
|
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;
|
|
8488
8483
|
}
|
|
8489
8484
|
return res.extractable = extractable, res.styleable = styleable, res;
|