'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 RotateCwProps = 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: {}, } 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: {}, } satisfies Record, } as const; function IconComponent({ size, ...props }: RotateCwProps) { const { controls } = useAnimateIconContext(); const variants = getVariants(animations); return ( ); } function RotateCw(props: RotateCwProps) { return ; } export { animations, RotateCw, RotateCw as RotateCwIcon, type RotateCwProps, type RotateCwProps as RotateCwIconProps, };