File tree 4 files changed +57
-4
lines changed
4 files changed +57
-4
lines changed Original file line number Diff line number Diff line change 17
17
[ ![ Greenkeeper badge] ( https://badges.greenkeeper.io/sandstreamdev/react-swipeable-list.svg )] ( https://greenkeeper.io/ )
18
18
[ ![ codecov] ( https://codecov.io/gh/sandstreamdev/react-swipeable-list/branch/master/graph/badge.svg )] ( https://codecov.io/gh/sandstreamdev/react-swipeable-list )
19
19
![ GitHub Release Date] ( https://img.shields.io/github/release-date/sandstreamdev/react-swipeable-list )
20
- [ ![ All Contributors] ( https://img.shields.io/badge/all_contributors-7 -orange.svg?style=flat-square )] ( #contributors )
20
+ [ ![ All Contributors] ( https://img.shields.io/badge/all_contributors-9 -orange.svg?style=flat-square )] ( #contributors )
21
21
22
22
## React Swipeable List component
23
23
@@ -59,8 +59,6 @@ import '@sandstreamdev/react-swipeable-list/dist/styles.css';
59
59
< / SwipeableList>
60
60
```
61
61
62
- NOTE: ` SwipeableListItem ` can be used without ` SwipeableList ` but swipe blocking on scroll needs to be handled.
63
-
64
62
## SwipeableList Props
65
63
66
64
### scrollStartThreshold
Original file line number Diff line number Diff line change @@ -188,7 +188,6 @@ function App() {
188
188
</ SwipeableListItem >
189
189
</ SwipeableList >
190
190
</ div >
191
- < div > THE END</ div >
192
191
</ div >
193
192
) ;
194
193
}
Original file line number Diff line number Diff line change 12
12
margin : 0 ;
13
13
}
14
14
15
+ body {
16
+ /* stylelint-disable */
17
+ font-family :
18
+ system,
19
+ -apple-system,
20
+ '.SFNSText-Regular' ,
21
+ 'San Francisco' ,
22
+ 'Roboto' ,
23
+ 'Segoe UI' ,
24
+ 'Helvetica Neue' ,
25
+ 'Lucida Grande' ,
26
+ sans-serif;
27
+ /* stylelint-enable */
28
+ }
29
+
30
+ footer {
31
+ display : flex;
32
+ flex-direction : column;
33
+ align-items : center;
34
+ padding : 56px 0 ;
35
+ }
36
+
37
+ a {
38
+ text-decoration : none;
39
+ }
40
+
41
+ footer a ,
42
+ footer a : visited {
43
+ color : # 0275d8 ;
44
+ }
45
+
46
+ footer a : hover {
47
+ color : # 0275d8 ;
48
+ text-decoration : underline;
49
+ }
50
+
15
51
.testApp {
16
52
display : flex;
17
53
flex-direction : column;
Original file line number Diff line number Diff line change @@ -11,6 +11,26 @@ ReactDOM.render(
11
11
< App />
12
12
</ div >
13
13
</ div >
14
+ < footer >
15
+ < span >
16
+ { `Made with ❤️ by ` }
17
+ < a href = "https://sandstream.pl/" > Sandstream Development</ a >
18
+ </ span >
19
+ < div >
20
+ < span >
21
+ < a href = "https://github.com/sandstreamdev/react-swipeable-list" >
22
+ GitHub
23
+ </ a >
24
+ </ span >
25
+ { ` • ` }
26
+ < span >
27
+ { `License: ` }
28
+ < a href = "https://github.com/sandstreamdev/react-swipeable-list/blob/master/LICENSE" >
29
+ MIT
30
+ </ a >
31
+ </ span >
32
+ </ div >
33
+ </ footer >
14
34
</ div > ,
15
35
document . getElementById ( 'root' )
16
36
) ;
You can’t perform that action at this time.
0 commit comments