File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -66,10 +66,12 @@ function App() {
6666
6767 return (
6868 < div className = { styles . example } >
69- < h3 > react-swipeable-list example</ h3 >
69+ < h1 > react-swipeable-list example</ h1 >
7070 < h5 > (try also mobile view in dev tools for touch events)</ h5 >
7171 < h3 > Simple example (with default 0.5 action trigger threshold)</ h3 >
72- < span className = { styles . actionInfo } > { triggeredSimpleItemAction } </ span >
72+ < span className = { styles . actionInfo } >
73+ { triggeredSimpleItemAction || 'No action triggered yet' }
74+ </ span >
7375 < div className = { styles . listContainer } >
7476 < SwipeableList >
7577 < SwipeableListItem
@@ -97,7 +99,9 @@ function App() {
9799 More complex items and scroll (with 0.25 action trigger threshold)
98100 </ h3 >
99101 < h3 > List in smaller container</ h3 >
100- < span className = { styles . actionInfo } > { triggeredComplexItemAction } </ span >
102+ < span className = { styles . actionInfo } >
103+ { triggeredComplexItemAction || 'No action triggered yet' }
104+ </ span >
101105 < div className = { styles . complexListContainer } >
102106 < SwipeableList threshold = { 0.25 } >
103107 < SwipeableListItem
You can’t perform that action at this time.
0 commit comments