stofli-ui
Version:
Biblioteca moderna de componentes UI para React con Tailwind CSS y Framer Motion
21 lines (18 loc) • 658 B
TypeScript
import React from 'react';
interface SpinnerProps {
size?: "xs" | "sm" | "md" | "lg" | "xl";
variant?: "default" | "primary" | "secondary" | "success" | "warning" | "danger";
speed?: "slow" | "normal" | "fast";
type?: "border" | "dots" | "grow" | "wave" | "lines";
label?: string;
labelPosition?: "left" | "right" | "top" | "bottom";
className?: string;
containerClassName?: string;
spinnerClassName?: string;
labelClassName?: string;
ariaLabel?: string;
ariaLive?: "off" | "polite" | "assertive";
}
declare const Spinner: React.FC<SpinnerProps>;
export { Spinner as default };
export type { SpinnerProps };