Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
18 lines
653 B
Plaintext
18 lines
653 B
Plaintext
"use client";
|
|
import { jsx } from 'react/jsx-runtime';
|
|
import { invariant } from 'motion-utils';
|
|
import * as React from 'react';
|
|
import { useConstant } from '../utils/use-constant.mjs';
|
|
import { LayoutGroup } from './LayoutGroup/index.mjs';
|
|
|
|
let id = 0;
|
|
const AnimateSharedLayout = ({ children }) => {
|
|
React.useEffect(() => {
|
|
invariant(false, "AnimateSharedLayout is deprecated: https://www.framer.com/docs/guide-upgrade/##shared-layout-animations");
|
|
}, []);
|
|
return (jsx(LayoutGroup, { id: useConstant(() => `asl-${id++}`), children: children }));
|
|
};
|
|
|
|
export { AnimateSharedLayout };
|
|
//# sourceMappingURL=AnimateSharedLayout.mjs.map
|