'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 PauseProps = IconProps; const animations = { default: { rect1: { initial: { x: 0, }, animate: { x: 1.5, transition: { duration: 0.3, ease: 'easeInOut', }, }, }, rect2: { initial: { x: 0, }, animate: { x: -1.5, transition: { duration: 0.3, ease: 'easeInOut', }, }, }, } satisfies Record, 'default-loop': { rect1: { initial: { x: 0, }, animate: { x: [0, 1.5, 0], transition: { duration: 0.6, ease: 'easeInOut', }, }, }, rect2: { initial: { x: 0, }, animate: { x: [0, -1.5, 0], transition: { duration: 0.6, ease: 'easeInOut', }, }, }, } satisfies Record, } as const; function IconComponent({ size, ...props }: PauseProps) { const { controls } = useAnimateIconContext(); const variants = getVariants(animations); return ( ); } function Pause(props: PauseProps) { return ; } export { animations, Pause, Pause as PauseIcon, type PauseProps, type PauseProps as PauseIconProps, };