2.1.7 • Published 5 months ago

@types/react-native-pull-to-refresh v2.1.7

Weekly downloads
116
License
MIT
Repository
github
Last release
5 months ago

Installation

npm install --save @types/react-native-pull-to-refresh

Summary

This package contains type definitions for react-native-pull-to-refresh (https://github.com/moschan/react-native-pull-to-refresh#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-pull-to-refresh.

index.d.ts

// Type definitions for react-native-pull-to-refresh 2.1
// Project: https://github.com/moschan/react-native-pull-to-refresh#readme
// Definitions by: euZebe <https://github.com/me>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import * as React from 'react';

export interface PTRViewProps {
    children?: React.ReactNode;
    onRefresh?: (() => any) | undefined;
    delay?: number | undefined; // default O
    style?: object | undefined;

    // iOS only
    offset?: number | undefined; // default 80

    // android only
    colors?: string | undefined; // default #000
    progressBackgroundColor?: string | undefined; // default transparent
}

export default class PTRView extends React.Component<PTRViewProps, any> {}

Additional Details

  • Last updated: Fri, 15 Oct 2021 18:02:04 GMT
  • Dependencies: @types/react
  • Global values: none

Credits

These definitions were written by euZebe.

2.1.7

5 months ago

2.1.4

8 months ago

2.1.6

6 months ago

2.1.5

7 months ago

2.1.3

3 years ago

2.1.2

3 years ago

2.1.1

4 years ago

2.1.0

4 years ago