feat: server group

This commit is contained in:
hamster1963 committed 2024-11-24 01:45:33 +08:00
1 parent 0fb3f4a6cf
commit fb38b0eb8a
10 files changed
+167 -109

No files matched your search

@@ -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>
);
};