'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 CompassProps = IconProps; const animations = { default: { path: { initial: { rotate: 0, }, animate: { rotate: [0, 95, 75], transition: { duration: 0.6, ease: 'easeInOut', }, }, }, circle: {}, } satisfies Record, 'default-loop': { path: { initial: { rotate: 0, }, animate: { rotate: [0, 95, 75, -20, 0], transition: { duration: 1.2, ease: 'easeInOut', }, }, }, circle: {}, } satisfies Record, } as const; function IconComponent({ size, ...props }: CompassProps) { const { controls } = useAnimateIconContext(); const variants = getVariants(animations); return ( ); } function Compass(props: CompassProps) { return ; } export { animations, Compass, Compass as CompassIcon, type CompassProps, type CompassProps as CompassIconProps, };