2.1.7 • Published 5 months ago
@types/react-native-pull-to-refresh v2.1.7
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.