We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b11bcfd commit f74b047Copy full SHA for f74b047
example/index.js
@@ -0,0 +1,34 @@
1
+/**
2
+ * Created by joe on 16/9/7.
3
+ */
4
+
5
+import React from 'react';
6
+import DragScroll from '../lib/DragScroll';
7
8
+class Main extends React.Component {
9
+ render () {
10
+ <DragScroll height={200} width={300}>
11
+ <div>test1</div>
12
+ <div>test2</div>
13
+ <div>test3</div>
14
+ <div>test4</div>
15
+ <div>test5</div>
16
+ <div>test6</div>
17
+ <div>test7</div>
18
+ <div>test8</div>
19
+ <div>test9</div>
20
+ <div>test10</div>
21
+ <div>test11</div>
22
+ <div>test12</div>
23
+ <div>test13</div>
24
+ <div>test14</div>
25
+ <div>test15</div>
26
+ <div>test16</div>
27
+ <div>test17</div>
28
+ <div>test18</div>
29
+ <div>test19</div>
30
+ <div>test20</div>
31
+ <div>test21</div>
32
+ </DragScroll>;
33
+ }
34
+}
0 commit comments