0.5.6 • Published 4 months ago

@types/react-native-loading-spinner-overlay v0.5.6

Weekly downloads
4,181
License
MIT
Repository
github
Last release
4 months ago

Installation

npm install --save @types/react-native-loading-spinner-overlay

Summary

This package contains type definitions for react-native-loading-spinner-overlay (https://github.com/joinspontaneous/react-native-loading-spinner-overlay).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-loading-spinner-overlay.

index.d.ts

// 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 | undefined;
    color?: string | undefined;
    animation?: "none" | "slide" | "fade" | undefined;
    overlayColor?: string | undefined;
    size?: "normal" | "small" | "large" | undefined;
    textContent?: string | undefined;
    textStyle?: ReactNative.StyleProp<ReactNative.TextStyle> | undefined;
    visible?: boolean | undefined;
    customIndicator?: React.ReactElement | undefined;
}

export default class Spinner extends React.Component<SpinnerProps> {}

Additional Details

Credits

These definitions were written by fhelwanger.