@gem-sdk/core 2.0.0-dev.1258 → 2.0.0-dev.1259
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),useLivePageAnimation=require("../../hooks/animation/useLivePageAnimation.js"),react=require("react")
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),useLivePageAnimation=require("../../hooks/animation/useLivePageAnimation.js"),react=require("react");const AnimationWrapper=({children:e,settings:i,tag:t})=>{let r=react.useRef(null);return useLivePageAnimation.useLivePageAnimation(r,i,t),jsxRuntime.jsx("div",{ref:r,style:{display:"contents"},children:e})};exports.default=AnimationWrapper;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{jsx as
|
|
1
|
+
import{jsx as r}from"react/jsx-runtime";import{useLivePageAnimation as t}from"../../hooks/animation/useLivePageAnimation.js";import{useRef as e}from"react";let AnimationWrapper=({children:i,settings:n,tag:o})=>{let a=e(null);return t(a,n,o),r("div",{ref:a,style:{display:"contents"},children:i})};export{AnimationWrapper as default};
|