Files
public-blog/app/providers.tsx
2026-06-03 11:25:25 -05:00

19 lines
493 B
TypeScript

"use client";
import { LazyMotion, domAnimation, MotionConfig } from "motion/react";
import { CodeCopyInit } from "@/components/ui/CodeCopyInit";
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] }}
>
<CodeCopyInit />
{children}
</MotionConfig>
</LazyMotion>
);
}