UNPKG

rn-swipe-up-down

Version:
24 lines (21 loc) 676 B
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; } }