'use client'; import * as React from 'react'; import { motion, type Variants } from 'motion/react'; import { getVariants, type IconProps, IconWrapper, useAnimateIconContext, } from '@/components/animate-ui/icons/icon'; type CheckProps = IconProps; const animations = { default: { path: { initial: { pathLength: 1, opacity: 1, scale: 1, }, animate: { pathLength: [0, 1], opacity: [0, 1], scale: [1, 1.1, 1], transition: { duration: 0.6, ease: 'easeInOut', }, }, }, } satisfies Record, } as const; function IconComponent({ size, ...props }: CheckProps) { const { controls } = useAnimateIconContext(); const variants = getVariants(animations); return ( ); } function Check(props: CheckProps) { return ; } export { animations, Check, Check as CheckIcon, type CheckProps, type CheckProps as CheckIconProps, };