'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 SearchProps = IconProps; const animations = { default: { group: { initial: { rotate: 0, }, animate: { transformOrigin: 'bottom right', rotate: [0, 17, -10, 5, -1, 0], transition: { duration: 0.8, ease: 'easeInOut' }, }, }, path: {}, circle: {}, } satisfies Record, find: { group: { initial: { x: 0, y: 0, }, animate: { x: [0, '-15%', 0, 0], y: [0, 0, '-15%', 0], transition: { duration: 1, ease: 'easeInOut' }, }, }, path: {}, circle: {}, } satisfies Record, } as const; function IconComponent({ size, ...props }: SearchProps) { const { controls } = useAnimateIconContext(); const variants = getVariants(animations); return ( ); } function Search(props: SearchProps) { return ; } export { animations, Search, Search as SearchIcon, type SearchProps, type SearchProps as SearchIconProps, };