mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* feat(react-dependents): update to ts 2.8 * fix version mismatches * remove package.json * post merge updates * add package.json back again
22 lines
757 B
TypeScript
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> {}
|