import type { CircleSpinningDotProps } from "$/types/LoadingTypes"; import { usePrefersReducedMotion } from "$/util/AccessibilityUtil"; export default function CircleSpinningDot({ size, width, height, className, animationDuration = 750, color, stroke, fill, trackClassName = "fill-transparent", trackStroke, trackFill, ariaLabel = "Loading" }: Readonly){ //https://github.com/n3r4zzurr0/svg-spinners/blob/main/svg-smil/dot-revolve.svg const reducedMotion = usePrefersReducedMotion(); const dur = reducedMotion ? animationDuration / 100 : animationDuration / 1000; return ( ); }