'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 LoaderPinwheelProps = IconProps; const animations = { default: { group: { initial: { rotate: 0, }, animate: { rotate: 360, transition: { duration: 1.5, ease: 'linear', repeat: Infinity, repeatType: 'loop', }, }, }, circle: {}, path1: {}, path2: {}, path3: {}, } satisfies Record, } as const; function IconComponent({ size, ...props }: LoaderPinwheelProps) { const { controls } = useAnimateIconContext(); const variants = getVariants(animations); return ( ); } function LoaderPinwheel(props: LoaderPinwheelProps) { return ; } export { animations, LoaderPinwheel, LoaderPinwheel as LoaderPinwheelIcon, type LoaderPinwheelProps, type LoaderPinwheelProps as LoaderPinwheelIconProps, };