'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 CircleXProps = IconProps; const animations = { default: { circle: {}, line1: { initial: { rotate: 0, transition: { ease: 'easeInOut', duration: 0.4 }, }, animate: { rotate: 90, transition: { ease: 'easeInOut', duration: 0.4 }, }, }, line2: { initial: { rotate: 0, transition: { ease: 'easeInOut', duration: 0.4, delay: 0.1 }, }, animate: { rotate: 90, transition: { ease: 'easeInOut', duration: 0.4, delay: 0.1 }, }, }, } satisfies Record, } as const; function IconComponent({ size, ...props }: CircleXProps) { const { controls } = useAnimateIconContext(); const variants = getVariants(animations); return ( ); } function CircleX(props: CircleXProps) { return ; } export { animations, CircleX, CircleX as CircleXIcon, type CircleXProps, type CircleXProps as CircleXIconProps, };