react-dragscroll

React DragScroll is a React component which enables scrolling via holding the mouse button.

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-dragscroll
36132.0.16 years ago8 years agoMinified + gzip package size for react-dragscroll in KB

Readme

react-dragscroll
React DragScroll is a React component which enables scrolling via holding the mouse button.
npm react-version license-mit

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