React Native Drag Reveal Fab
Usage
A view can be revealed by dragging its fab
installation :
npm install react-native-drag-reveal-fab --save
import :
import DragReveal from 'react-native-drag-reveal-fab'
usage :
import React Component from 'react';import Platform StyleSheet View Dimensions Text from 'react-native';import DragReveal from "./DragReveal"; const instructions = Platform; type Props = ;<Props> { ; } { return <View = > <Text> instructions </Text> <DragReveal // // > /* this content will reveal*/ </DragReveal> </View> ; } const styles = StyleSheet;