@spicy-ui/core
Version:
A themable and extensible React UI library, ready to use out of the box
18 lines (17 loc) • 713 B
TypeScript
import * as React from 'react';
import { SxProp } from '../../system';
import { AsProp, HTMLAttributes, LiteralUnion } from '../../types';
export declare type SpinnerSizes = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
export interface SpinnerProps extends HTMLAttributes, AsProp, SxProp {
/** Color of the spinner. */
color?: string;
/** Color of the spinner's track. */
trackColor?: string;
/** Thickness of the spinner. */
thickness?: string;
/** Spinner animation speed. */
speed?: string;
/** Spinner size. */
size?: LiteralUnion<SpinnerSizes>;
}
export declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLDivElement>>;