'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 RefreshCwProps = IconProps; const animations = { default: { group: { initial: { rotate: 0, transition: { type: 'spring', stiffness: 150, damping: 25 }, }, animate: { rotate: 45, transition: { type: 'spring', stiffness: 150, damping: 25 }, }, }, path1: {}, path2: {}, path3: {}, path4: {}, } satisfies Record, rotate: { group: { initial: { rotate: 0, transition: { type: 'spring', stiffness: 100, damping: 25 }, }, animate: { rotate: 360, transition: { type: 'spring', stiffness: 100, damping: 25 }, }, }, path1: {}, path2: {}, path3: {}, path4: {}, } satisfies Record, } as const; function IconComponent({ size, ...props }: RefreshCwProps) { const { controls } = useAnimateIconContext(); const variants = getVariants(animations); return ( ); } function RefreshCw(props: RefreshCwProps) { return ; } export { animations, RefreshCw, RefreshCw as RefreshCwIcon, type RefreshCwProps, type RefreshCwProps as RefreshCwIconProps, };