@vx/drag

Installation

npm install --save @vx/drag

Components

API

<Drag />

# Drag.captureDragArea<bool>
Defaulttrue

# Drag.children<func> required

# Drag.height<number> required

# Drag.onDragEnd<func>

# Drag.onDragMove<func>

# Drag.onDragStart<func>

# Drag.resetOnStart<bool>
Defaultfalse

# Drag.width<number> required