"use client" import React, { ElementRef, forwardRef } from "react" import { useChangeAnimation, type UseChangeAnimationOptions } from "../../hooks" import { Block } from "../Block" import { InlineFlex } from "../InlineFlex" export type ChangeAnimationProps = UseChangeAnimationOptions & { children: React.ReactNode } export const ChangeAnimation = forwardRef< ElementRef, ChangeAnimationProps >(function ChangeAnimation({ children, ...rest }, ref) { const { animationClassName, rerenderKey } = useChangeAnimation({ ...rest }) return ( {children} ) })