'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 RefreshCcwProps = 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: {}, circle: {}, } 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: {}, circle: {}, } satisfies Record, } as const; function IconComponent({ size, ...props }: RefreshCcwProps) { const { controls } = useAnimateIconContext(); const variants = getVariants(animations); return ( ); } function RefreshCcw(props: RefreshCcwProps) { return ; } export { animations, RefreshCcw, RefreshCcw as RefreshCcwIcon, type RefreshCcwProps, type RefreshCcwProps as RefreshCcwIconProps, };