mirror of
https://github.com/hamster1963/nezha-dash.git
synced 2025-04-24 21:10:45 +08:00
14 lines
339 B
TypeScript
14 lines
339 B
TypeScript
"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>
|
|
)
|
|
}
|