react-native-ui-lib
Version:
<p align="center"> <img src="https://user-images.githubusercontent.com/1780255/105469025-56759000-5ca0-11eb-993d-3568c1fd54f4.png" height="250px" style="display:block"/> </p> <p align="center">UI Toolset & Components Library for React Native</p> <p a
20 lines (19 loc) • 661 B
TypeScript
import React from 'react';
import { ViewProps } from '../view';
import { PanLocationProps } from './panningProvider';
export interface PanResponderViewProps extends ViewProps {
/**
* Will be called with the current location ({left, top}) when the pan has ended
*/
onPanLocationChanged?: (location: PanLocationProps) => void;
/**
* Ignore panning events while this is true
*/
ignorePanning?: boolean;
/**
* Allow the view to be animated (send animation via style; default is false)
*/
isAnimated?: boolean;
}
declare const _default: React.ComponentClass<PanResponderViewProps, any>;
export default _default;