Package Exports
- react-dragscroll
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-dragscroll) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-dragscroll
React DragScroll is a React component which enables scrolling via holding the mouse button.
install
npm install react-dragscroll --save
example
<DragScroll height={200} width={300}>
<div>test1</div>
<div>test2</div>
<div>test3</div>
<div>test4</div>
<div>test5</div>
<div>test6</div>
<div>test7</div>
<div>test8</div>
<div>test9</div>
<div>test10</div>
<div>test11</div>
<div>test12</div>
<div>test13</div>
<div>test14</div>
<div>test15</div>
<div>test16</div>
<div>test17</div>
<div>test18</div>
<div>test19</div>
<div>test20</div>
</DragScroll>
license
MIT