'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 LayersProps = IconProps; const animations = { default: { path1: { initial: { y: 0, }, animate: { y: 5, transition: { duration: 0.3, ease: 'easeInOut', }, }, }, path2: {}, path3: { initial: { y: 0, }, animate: { y: -5, transition: { duration: 0.3, ease: 'easeInOut', }, }, }, } satisfies Record, 'default-loop': { path1: { initial: { y: 0, }, animate: { y: [0, 5, 0], transition: { duration: 0.6, ease: 'easeInOut', }, }, }, path2: {}, path3: { initial: { y: 0, }, animate: { y: [0, -5, 0], transition: { duration: 0.6, ease: 'easeInOut', }, }, }, } satisfies Record, } as const; function IconComponent({ size, ...props }: LayersProps) { const { controls } = useAnimateIconContext(); const variants = getVariants(animations); return ( ); } function Layers(props: LayersProps) { return ; } export { animations, Layers, Layers as LayersIcon, type LayersProps, type LayersProps as LayersIconProps, };