feat: server group

This commit is contained in:
hamster1963
2024-11-24 01:45:33 +08:00
parent 0fb3f4a6cf
commit fb38b0eb8a
10 changed files with 167 additions and 109 deletions
@@ -0,0 +1 @@
export { domMax as default } from "framer-motion";
+14
View File
@@ -0,0 +1,14 @@
"use client";
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>
);
};