mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-02-04 12:40:10 +00:00
12 lines
325 B
TypeScript
12 lines
325 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>
|
|
)
|
|
}
|