@kcirtaptrick/framer-motion
Version:
A simple and powerful React animation library
12 lines (9 loc) • 390 B
JavaScript
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;
return (React.createElement(LayoutGroup, { id: useConstant(function () { return "asl-".concat(id++); }) }, children));
};
export { AnimateSharedLayout };