Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-dragable-opensource

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-dragable-opensource

a dragable component for react native

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

React Native Custom Drag Component

A customizable React Native Dragable component that can drag your child components.

Installation

Install the package using npm or yarn:

npm i react-native-dragable-opensource

Usage

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

Keywords

FAQs

Package last updated on 14 Feb 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc