2018-02-26 19:44:12 +00:00
|
|
|
// 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
|
2018-08-06 05:28:42 +00:00
|
|
|
// TypeScript Version: 2.8
|
2018-02-26 19:44:12 +00:00
|
|
|
|
|
|
|
|
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;
|
2020-06-17 16:16:06 +00:00
|
|
|
customIndicator?: React.ReactElement;
|
2018-02-26 19:44:12 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default class Spinner extends React.Component<SpinnerProps> {}
|