@ntragas/pouncejstest
Version:
A collection of UI components from Panther labs
14 lines (13 loc) • 508 B
TypeScript
import React from 'react';
import { BoxProps } from '../Box';
import { Theme } from '../../theme';
export interface SpinnerProps extends BoxProps<'svg'> {
/** Delay after which spinner should be visible. */
delay?: number;
/** The size of the spinner, */
size?: 'small' | 'medium' | 'large';
/** The color of the spinner. Defaults to the current text color */
color?: keyof Theme['colors'];
}
declare const _default: React.NamedExoticComponent<SpinnerProps>;
export default _default;