import type { LoadingDotsProps } from "$/types/LoadingTypes"; import { usePrefersReducedMotion } from "$/util/AccessibilityUtil"; import { useId } from "react"; export default function CircleShrinkingDots({ size, width, height, className, animationDuration = 600, color, stroke, fill, ariaLabel = "Loading" }: Readonly){ //https://github.com/n3r4zzurr0/svg-spinners/blob/main/svg-smil/6-dots-scale.svg?short_path=17d1946 const id = useId(); const reducedMotion = usePrefersReducedMotion(); const dur = reducedMotion ? animationDuration / 100 : animationDuration / 1000; return ( ); }