'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 ToggleLeftProps = 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 }: ToggleLeftProps) { const { controls } = useAnimateIconContext(); const variants = getVariants(animations); return ( ); } function ToggleLeft(props: ToggleLeftProps) { return ; } export { animations, ToggleLeft, ToggleLeft as ToggleLeftIcon, type ToggleLeftProps, type ToggleLeftProps as ToggleLeftIconProps, };