'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 Volume2Props = IconProps; const animations = { default: (() => { const animation: Record = {}; for (let i = 1; i <= 2; 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 }: Volume2Props) { const { controls } = useAnimateIconContext(); const variants = getVariants(animations); return ( ); } function Volume2(props: Volume2Props) { return ; } export { animations, Volume2, Volume2 as Volume2Icon, type Volume2Props, type Volume2Props as Volume2IconProps, };