'use client'; import * as React from 'react'; import { motion, type Variants } from 'motion/react'; import { getVariants, useAnimateIconContext, IconWrapper, type IconProps, } from '@/registry/icons/icon'; type CopyProps = IconProps; const animations = { default: { rect: { initial: { y: 0, x: 0, }, animate: { y: -3, x: -3, transition: { duration: 0.3, ease: 'easeInOut', }, }, }, path: { initial: { y: 0, x: 0, }, animate: { y: 3, x: 3, transition: { duration: 0.3, ease: 'easeInOut', }, }, }, } satisfies Record, 'default-loop': { rect: { initial: { y: 0, x: 0, }, animate: { y: [0, -3, 0], x: [0, -3, 0], transition: { duration: 0.6, ease: 'easeInOut', }, }, }, path: { initial: { y: 0, x: 0, }, animate: { y: [0, 3, 0], x: [0, 3, 0], transition: { duration: 0.6, ease: 'easeInOut', }, }, }, } satisfies Record, } as const; function IconComponent({ size, ...props }: CopyProps) { const { controls } = useAnimateIconContext(); const variants = getVariants(animations); return ( ); } function Copy(props: CopyProps) { return ; } export { animations, Copy, Copy as CopyIcon, type CopyProps, type CopyProps as CopyIconProps, };