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/native.js
CHANGED
|
@@ -9047,12 +9047,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
|
|
|
9047
9047
|
return Component2.staticConfig = extendStyledConfig(extended), Component2.styleable = styleable, Component2;
|
|
9048
9048
|
}
|
|
9049
9049
|
function styleable(Component2, options) {
|
|
9050
|
-
var _Component_render, isForwardedRefAlready = ((_Component_render = Component2.render) === null || _Component_render === void 0 ? void 0 : _Component_render.length) === 2
|
|
9051
|
-
return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Component2, {
|
|
9052
|
-
...props,
|
|
9053
|
-
ref
|
|
9054
|
-
});
|
|
9055
|
-
}), extendedConfig = extendStyledConfig(options == null ? void 0 : options.staticConfig);
|
|
9050
|
+
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);
|
|
9056
9051
|
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;
|
|
9057
9052
|
}
|
|
9058
9053
|
return res.extractable = extractable, res.styleable = styleable, res;
|