Files
DefinitelyTyped/types/react-spinkit/index.d.ts
Zach Zanol 7f095f4ca2 [react-spinkit]: update to 3.0.0 (#16875)
* Update react-spinkit-tests.tsx

* Update index.d.ts

* Update index.d.ts

* moved v1 to subfolder
2017-06-02 09:04:34 -07:00

35 lines
1.1 KiB
TypeScript

// Type definitions for react-spinkit 3.0.0
// 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>, zzanol <https://github.com/zzanol>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
/// <reference types="react" />
declare namespace spinner {
export interface SpinnerProps {
/**
* Specify spinner to use.
*/
name?: '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;