"use client";
import { motion, useReducedMotion } from "motion/react";
type QuantumRingProps = {
className?: string;
color?: string;
/** Colour of the inner ring. */
accent?: string;
/** Loader width in pixels. */
size?: number;
/** 1 is the default pace; 2 is twice as fast. */
speed?: number;
/** Read out by screen readers. */
label?: string;
};
/* One arc of a circle that turns and stretches/shrinks as it goes. */
function Arc({ r, color, width, duration, reverse, still }: {
r: number;
color: string;
width: number;
duration: number;
reverse?: boolean;
still: boolean;
}) {
return (