forked from minhchienwikipedia/react-native-swipe-up-down
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.d.ts
More file actions
23 lines (21 loc) · 676 Bytes
/
index.d.ts
File metadata and controls
23 lines (21 loc) · 676 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
declare module "react-native-swipe-up-down" {
import * as React from "react";
export interface SwipeUpProps {
hasRef?: () => void;
swipeHeight?: number;
itemMini?: object;
itemFull: object;
disablePressToShow?: boolean;
style?: object;
onShowMini?: () => void;
onShowFull?: () => void;
animation?: "linear" | "spring" | "easeInEaseOut" | "none";
}
export default class SwipeUp extends React.Component<SwipeUpProps, any> {
updateNativeProps(): void;
_onPanResponderMove(event: any, gestureState: any): void;
_onPanResponderRelease(event: any, gestureState: any): void;
showFull(): void;
showMini(): void;
}
}