feat: add motion provider (no theme provider here)

This commit is contained in:
2026-06-01 19:39:22 -05:00
parent c178fc63a1
commit 0a6df0b3ee

16
app/providers.tsx Normal file
View File

@@ -0,0 +1,16 @@
"use client";
import { LazyMotion, domAnimation, MotionConfig } from "motion/react";
export function Providers({ children }: { children: React.ReactNode }) {
return (
<LazyMotion features={domAnimation} strict>
<MotionConfig
reducedMotion="user"
transition={{ duration: 0.3, ease: [0.22, 1, 0.36, 1] }}
>
{children}
</MotionConfig>
</LazyMotion>
);
}