Replace navigational 'back swipe' gesture with new HorzSwipe util
This commit is contained in:
parent
9ce02dff5b
commit
f5d1a5c38d
3 changed files with 68 additions and 57 deletions
|
@ -76,6 +76,7 @@ export function ViewSelector({
|
|||
const data = [HEADER_ITEM, SELECTOR_ITEM, ...items]
|
||||
return (
|
||||
<HorzSwipe
|
||||
hasPriority
|
||||
panX={panX}
|
||||
swipeEnabled={swipeEnabled || false}
|
||||
canSwipeLeft={selectedIndex > 0}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue