DefinitelyTyped/types/react-native-loading-spinner-overlay/index.d.ts
Ferdy Budhidharma bc0c933415 feat(react-dependents): update to TS 2.8 (part 2 of 2) (#27744)
* feat(react-dependents): update to ts 2.8

* fix version mismatches

* remove package.json

* post merge updates

* add package.json back again
2018-08-06 06:28:42 +01:00

22 lines
757 B
TypeScript

// Type definitions for react-native-loading-spinner-overlay 0.5
// Project: https://github.com/joinspontaneous/react-native-loading-spinner-overlay
// Definitions by: fhelwanger <https://github.com/fhelwanger>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
import * as React from "react";
import * as ReactNative from "react-native";
export interface SpinnerProps {
cancelable?: boolean;
color?: string;
animation?: "none" | "slide" | "fade";
overlayColor?: string;
size?: "normal" | "small" | "large";
textContent?: string;
textStyle?: ReactNative.StyleProp<ReactNative.TextStyle>;
visible?: boolean;
}
export default class Spinner extends React.Component<SpinnerProps> {}