mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* [react-spinkit] Fill out props and add testcases * Remove extraneous space * Remove another space
35 lines
1.1 KiB
TypeScript
35 lines
1.1 KiB
TypeScript
// Type definitions for react-spinkit 1.1.4
|
|
// Project: https://github.com/KyleAMathews/react-spinkit
|
|
// Definitions by: Qubo <https://github.com/tkqubo>, Mleko <https://github.com/mleko>, Tom Crockett <https://github.com/pelotom>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.1
|
|
|
|
/// <reference types="react" />
|
|
|
|
declare namespace spinner {
|
|
export interface SpinnerProps {
|
|
/**
|
|
* Specify spinner to use.
|
|
*/
|
|
spinnerName?: 'three-bounce' | 'double-bounce' | 'rotating-plane' | 'folding-cube' | 'wave' | 'wandering-cubes' | 'pulse' | 'chasing-dots' | 'circle' | 'cube-grid' | 'wordpress';
|
|
/**
|
|
* Disable the initial fade-in of the spinner.
|
|
*/
|
|
noFadeIn?: boolean;
|
|
/**
|
|
* Change the default "spinner" className.
|
|
*/
|
|
overrideSpinnerClassName?: string;
|
|
/**
|
|
* Component className.
|
|
*/
|
|
className?: string;
|
|
}
|
|
|
|
export interface Spinner extends React.ComponentClass<SpinnerProps> {
|
|
}
|
|
}
|
|
|
|
declare const spinner: spinner.Spinner;
|
|
export = spinner;
|