react-native-pullable-view
v1.0.2
Published
React Native Pullable View
Downloads
1
Maintainers
Readme
React Native Pullable View
Implements component similar to calendar that you know from Calendar App by Google - you can pull down this calendar from toolbar.
Example
![Example] (https://raw.githubusercontent.com/xotahal/react-native-pullable-view-demo-app/master/resources/example.gif)
Install
npm i react-native-pullable-view --save
Usage
import Pullable from 'react-native-pullable-view';
...
render() {
return (
<Pullable pullView={() => <View><Text>This view will be pulled down!</Text></View>}>
<View>
<Text>This view will be always shown on the screen</Text>
</View>
</Pullable>
);
}