@types/react-native-loading-spinner-overlay
TypeScript icon, indicating that this package has built-in type declarations

0.5.6 • Public • Published

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

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/react-native-loading-spinner-overlay

Weekly Downloads

5,324

Version

0.5.6

License

MIT

Unpacked Size

4.16 kB

Total Files

5

Last publish

Collaborators

  • types