@neuctra/ui
Version:
A modern, responsive, customizable React UI component library powered by Tailwind CSS and Vite.
12 lines (11 loc) • 555 B
TypeScript
import { default as React } from 'react';
export interface SpinnerProps extends React.HTMLAttributes<HTMLSpanElement> {
size?: "xs" | "sm" | "md" | "lg" | "xl";
/** Accessible label announced to screen readers. */
label?: string;
/** Stroke color class; defaults to the current text color. */
colorClassName?: string;
/** Applied to the visually-hidden (sr-only) accessible label. */
labelClassName?: string;
}
export declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLSpanElement>>;