'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 WifiProps = IconProps; const animations = { default: (() => { const animation: Record = {}; for (let i = 1; i <= 4; i++) { animation[`path${i}`] = { initial: { opacity: 1, scale: 1 }, animate: { opacity: 0, scale: 0, transition: { opacity: { duration: 0.2, ease: 'easeInOut', repeat: 1, repeatType: 'reverse', repeatDelay: 0.2, delay: 0.2 * (i - 1), }, scale: { duration: 0.2, ease: 'easeInOut', repeat: 1, repeatType: 'reverse', repeatDelay: 0.2, delay: 0.2 * (i - 1), }, }, }, }; } return animation; })() satisfies Record, } as const; function IconComponent({ size, ...props }: WifiProps) { const { controls } = useAnimateIconContext(); const variants = getVariants(animations); return ( ); } function Wifi(props: WifiProps) { return ; } export { animations, Wifi, Wifi as WifiIcon, type WifiProps, type WifiProps as WifiIconProps, };