11diff --git a/dist/cjs/createComponent.native.js b/dist/cjs/createComponent.native.js
2- index ddcbfbc5112e148ff6a33fffd986d763b9f32248..fd8b81f75d0a9fc414fbda5eea02d9405d57a89f 100644
2+ index 86d3da13fa485e62f44137ea449320db7ec7e877..d27abf8ee06b0791f14e4a254c7f11cb572580be 100644
33--- a/dist/cjs/createComponent.native.js
44+++ b/dist/cjs/createComponent.native.js
5- @@ -98 ,7 +98,7 @@ function createComponent(staticConfig) {
5+ @@ -97 ,7 +97,8 @@ function createComponent(staticConfig) {
66 defaultProps,
77 defaultPropsKeyOrder: defaultProps ? Object.keys(defaultProps) : []
88 });
99- var component = /* @__PURE__ */ import_react.default.forwardRef(function(propsIn, forwardedRef) {
10+ +
1011+ var OldComponent = /* @__PURE__ */ import_react.default.forwardRef(function(propsIn, forwardedRef) {
11- var _themeState_state, _hooks_usePropsTransform, _hooks_useEvents, _config_animations, internalID = process.env.NODE_ENV === "development" ? import_react.default.useId() : "";
12+ var _hooks_usePropsTransform, _hooks_useEvents, _config_animations, internalID = process.env.NODE_ENV === "development" ? import_react.default.useId() : "";
1213 if (process.env.NODE_ENV === "development" && startVisualizer && (startVisualizer(), startVisualizer = void 0), !hasSetupBaseViews) {
1314 var _hooks_getBaseViews;
14- @@ -548 ,6 +548 ,13 @@ If you meant to do this, you can disable this warning - either change untilMeasu
15+ @@ -558 ,6 +559 ,13 @@ If you meant to do this, you can disable this warning - either change untilMeasu
1516 delete globalThis.willPrint, time.print(), time = null;
1617 }, 50))), content;
1718 });
@@ -26,29 +27,29 @@ index ddcbfbc5112e148ff6a33fffd986d763b9f32248..fd8b81f75d0a9fc414fbda5eea02d940
2627 var res = component;
2728 (process.env.TAMAGUI_FORCE_MEMO || staticConfig.memo) && (res = /* @__PURE__ */ import_react.default.memo(res)), res.staticConfig = staticConfig;
2829diff --git a/dist/esm/createComponent.native.js b/dist/esm/createComponent.native.js
29- index 40466f28af50e22730462702a96e2c8b41969276..92f8f589a72098efc72e58f7cf64fb80e00787d9 100644
30+ index 5c05d1ea28cbcbcaf4cac7bc7826243895b0bae5..e81c77c7b716bf3bfd3c89b1043bb91b86a7dee6 100644
3031--- a/dist/esm/createComponent.native.js
3132+++ b/dist/esm/createComponent.native.js
32- @@ -90 ,7 +90 ,7 @@ function createComponent(staticConfig) {
33+ @@ -116 ,7 +116 ,7 @@ function createComponent(staticConfig) {
3334 defaultProps,
3435 defaultPropsKeyOrder: defaultProps ? Object.keys(defaultProps) : []
3536 });
36- - var component = /* @__PURE__ */ React.forwardRef(function(propsIn, forwardedRef) {
37- + var OldComponent = /* @__PURE__ */ React.forwardRef(function(propsIn, forwardedRef) {
38- var _themeState_state, _hooks_usePropsTransform, _hooks_useEvents, _config_animations, internalID = process.env.NODE_ENV === "development" ? React.useId() : "";
39- if (process.env.NODE_ENV === "development" && startVisualizer && (startVisualizer(), startVisualizer = void 0), !hasSetupBaseViews) {
40- var _hooks_getBaseViews;
41- @@ -540,6 +540,13 @@ If you meant to do this, you can disable this warning - either change untilMeasu
37+ - var component = /* @__PURE__ */React.forwardRef(function (propsIn, forwardedRef) {
38+ + var OldComponent = /* @__PURE__ */React.forwardRef(function (propsIn, forwardedRef) {
39+ var _hooks_usePropsTransform,
40+ _hooks_useEvents,
41+ _config_animations,
42+ @@ -625,6 +625,13 @@ If you meant to do this, you can disable this warning - either change untilMeasu
43+ return process.env.NODE_ENV === "development" && time && (time`rest`, globalThis.willPrint || (globalThis.willPrint = !0, setTimeout(function () {
4244 delete globalThis.willPrint, time.print(), time = null;
4345 }, 50))), content;
44- });
45- + // UNISWAP PATCH: Using key to avoid conditionally calling useAnimation hook
46- + var component = /* @__PURE__ */ import_react.default .forwardRef(function(propsIn, forwardedRef) {
46+ + });
47+ + // UNISWAP PATCH: Using key to avoid conditionally calling useAnimation hook
48+ + var component = /* @__PURE__ */ React .forwardRef(function(propsIn, forwardedRef) {
4749+ return /* @__PURE__ */ _jsx(OldComponent, {
4850+ ref: forwardedRef,
4951+ ...propsIn,
5052+ }, "animation" in propsIn ? 1 : 0);
51- + });
53+ });
5254 staticConfig.componentName && (component.displayName = staticConfig.componentName);
5355 var res = component;
54- (process.env.TAMAGUI_FORCE_MEMO || staticConfig.memo) && (res = /* @__PURE__ */ React.memo(res)), res.staticConfig = staticConfig;
0 commit comments