New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

with-dnd-context

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

with-dnd-context

A HOC solution for backend resuage issue in react-dnd

latest
Source
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

with-dnd-context: a HOC solution for backend reusage issue in react-dnd

Why

Cannot have two HTML5 backends at the same time

Basic Usage

import withDndContext from 'with-dnd-context'

class MyComponent {}

export default withDndContext(MyComponent);

Installation

npm i with-dnd-context --save

API

// backendFactory is optional and default to react-dnd-html5-backend
const withDndContext: (WrappedComponent: React.ComponentType<any>, backendFactory?: BackendFactory) => React.ComponentType<any>;

Keywords

react-dnd

FAQs

Package last updated on 20 May 2019

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