react-dragscroll-alt
v1.0.20
Published
React DragScroll is a React component which enables scrolling via holding the mouse button.
Downloads
2
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