Files
nezha-dash-v1/src/components/motion/motion-provider.tsx
T
2025-12-28 18:05:02 +08:00

13 lines
321 B
TypeScript

import { LazyMotion } from "framer-motion";
const loadFeatures = () =>
import("./framer-lazy-feature").then((res) => res.default);
export const MotionProvider = ({ children }: { children: React.ReactNode }) => {
return (
<LazyMotion features={loadFeatures} strict key="framer">
{children}
</LazyMotion>
);
};