File tree Expand file tree Collapse file tree 5 files changed +10
-5
lines changed
Expand file tree Collapse file tree 5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1717 },
1818 "rules": {
1919 "react-hooks/rules-of-hooks": "error",
20- "react-hooks/exhaustive-deps": "warn "
20+ "react-hooks/exhaustive-deps": "error "
2121 }
2222}
Original file line number Diff line number Diff line change 11.DS_Store
2+ .stylelintcache
23node_modules /
34dist
Original file line number Diff line number Diff line change @@ -13,8 +13,12 @@ yarn add sandstreamdev/react-swipeable-list
1313``` javascript jsx
1414< SwipeableList>
1515 < SwipeableListItem
16+ swipeLeft= {{
17+ content: < div> Revealed content during swipe< / div> ,
18+ action : () => console .info (' swipe action triggered' )
19+ }}
1620 swipeRight= {{
17- background : < div> Left background < / div> ,
21+ content : < div> Revealed content during swipe < / div> ,
1822 action : () => console .info (' swipe action triggered' )
1923 }}
2024 >
Original file line number Diff line number Diff line change 11{
2- "name" : " react-swipeable-list" ,
2+ "name" : " @sandstreamdev/ react-swipeable-list" ,
33 "description" : " Swipeable list component for React" ,
4- "version" : " 0.0.1 " ,
4+ "version" : " 0.1.0 " ,
55 "author" : {
66 "name" : " Sandstream Development" ,
77 "url" : " https://github.com/sandstreamdev/react-swipeable-list/graphs/contributors"
Original file line number Diff line number Diff line change 33 background : white;
44 width : 100% ;
55 height : 100% ;
6- overflow-y : scroll ;
6+ overflow-y : auto ;
77}
You can’t perform that action at this time.
0 commit comments