UNPKG

react-wired-elements

Version:

Wired Elements as React components. TypeScript types included.

20 lines (19 loc) 538 B
import { BaseProps } from './types'; export interface WiredSpinnerProps extends BaseProps { /** * Is the spinner spinning? * @default false */ spinning?: boolean; /** * Time in milliseconds to complete one complete spin. * @default 1500 */ duration?: number; /** * The color of the spinner. * @default black */ color?: string; } export declare const WiredSpinner: ({ spinning, duration, color, className, style, }: WiredSpinnerProps) => JSX.Element;