framer-motion
Version:
A simple and powerful React animation library
16 lines (13 loc) • 605 B
JavaScript
import { warning } from 'hey-listen';
import * as React from 'react';
import { useConstant } from '../utils/use-constant.mjs';
import { LayoutGroup } from './LayoutGroup/index.mjs';
var id = 0;
var AnimateSharedLayout = function (_a) {
var children = _a.children;
React.useEffect(function () {
warning(false, "AnimateSharedLayout is deprecated: https://www.framer.com/docs/guide-upgrade/##shared-layout-animations");
}, []);
return (React.createElement(LayoutGroup, { id: useConstant(function () { return "asl-".concat(id++); }) }, children));
};
export { AnimateSharedLayout };