A customizable React Native Dragable component that can drag your child components.
Install the package using npm or yarn:
npm i react-native-dragable-opensource
wrap your component inside Dragable to drag your component
import React from 'react';
import { SafeAreaView, TouchableOpacity, View ,Text} from 'react-native';
import Dragable from 'react-native-dragable-opensource';
const App = () => {
return (
<View style={{ flex: 1 }}>
<Dragable>
<View style={{height:100,width:100,backgroundColor:'red'}}>
<Text>hello</Text>
</View>
</Dragable>
</View>
);
};
export default App