File tree Expand file tree Collapse file tree 4 files changed +57
-4
lines changed Expand file tree Collapse file tree 4 files changed +57
-4
lines changed Original file line number Diff line number Diff line change 1717[ ![ Greenkeeper badge] ( https://badges.greenkeeper.io/sandstreamdev/react-swipeable-list.svg )] ( https://greenkeeper.io/ )
1818[ ![ codecov] ( https://codecov.io/gh/sandstreamdev/react-swipeable-list/branch/master/graph/badge.svg )] ( https://codecov.io/gh/sandstreamdev/react-swipeable-list )
1919![ 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 )
2121
2222## React Swipeable List component
2323
@@ -59,8 +59,6 @@ import '@sandstreamdev/react-swipeable-list/dist/styles.css';
5959< / SwipeableList>
6060```
6161
62- NOTE: ` SwipeableListItem ` can be used without ` SwipeableList ` but swipe blocking on scroll needs to be handled.
63-
6462## SwipeableList Props
6563
6664### scrollStartThreshold
Original file line number Diff line number Diff line change @@ -188,7 +188,6 @@ function App() {
188188 </ SwipeableListItem >
189189 </ SwipeableList >
190190 </ div >
191- < div > THE END</ div >
192191 </ div >
193192 ) ;
194193}
Original file line number Diff line number Diff line change 1212 margin : 0 ;
1313}
1414
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 : 40px 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+
1551.testApp {
1652 display : flex;
1753 flex-direction : column;
Original file line number Diff line number Diff line change @@ -11,6 +11,26 @@ ReactDOM.render(
1111 < App />
1212 </ div >
1313 </ 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 >
1434 </ div > ,
1535 document . getElementById ( 'root' )
1636) ;
You can’t perform that action at this time.
0 commit comments