@arolariu/components
Version:
🎨 70+ beautiful, accessible React components built on Base UI. TypeScript-first, CSS Modules styling, tree-shakeable, SSR-ready. Perfect for modern web apps, design systems & rapid prototyping. Zero config, maximum flexibility! ⚡
23 lines • 674 B
TypeScript
import * as React from "react";
/**
* Props for the {@link Spinner} component.
*/
export type SpinnerProps = React.ComponentPropsWithoutRef<"svg">;
/**
* Renders an animated loading indicator.
*
* @remarks
* - Pure CSS component (no Base UI primitive)
* - Renders an `<svg>` element
* - Styling via CSS Modules with `--ac-*` custom properties
*
* @example
* ```tsx
* <Spinner aria-label='Loading data' />
* ```
*
* @see {@link SpinnerProps} for available props
*/
declare const Spinner: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
export { Spinner };
//# sourceMappingURL=spinner.d.ts.map