'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 ToggleRightProps = IconProps; const animations = { default: { rect: {}, circle: { initial: { x: 0, }, animate: { x: [0, -7, -6], transition: { duration: 0.5, ease: 'easeInOut', }, }, }, } satisfies Record, 'default-loop': { rect: {}, circle: { initial: { x: 0, }, animate: { x: [0, -7, -6, 1, 0], transition: { duration: 1, ease: 'easeInOut', }, }, }, } satisfies Record, } as const; function IconComponent({ size, ...props }: ToggleRightProps) { const { controls } = useAnimateIconContext(); const variants = getVariants(animations); return ( ); } function ToggleRight(props: ToggleRightProps) { return ; } export { animations, ToggleRight, ToggleRight as ToggleRightIcon, type ToggleRightProps, type ToggleRightProps as ToggleRightIconProps, };