import type { PrimitivePropsWithRef } from '../utils/primitive.js'; /** Props for the {@link Spinner} root. */ export interface SpinnerProps extends PrimitivePropsWithRef<'div'> { /** * Accessible label announced to screen readers while the spinner is visible. * @default 'Loading' */ label?: string | undefined; /** * Render the label beside the graphic. Not used with asChild. * @default false */ visibleLabel?: boolean | undefined; /** * Size rung the skin scales the spinner by, mirrored to `data-size`. * @default undefined — the skin's own default size. */ size?: 'sm' | 'lg' | (string & {}) | undefined; }