mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
* Update index.d.ts Added `customIndicator` which was missing. * Update react-native-loading-spinner-overlay-tests.tsx
23 lines
799 B
TypeScript
23 lines
799 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;
|
|
customIndicator?: React.ReactElement;
|
|
}
|
|
|
|
export default class Spinner extends React.Component<SpinnerProps> {}
|