make tab bar scroll view draggable on web

This commit is contained in:
Ansh Nanda 2023-05-24 15:04:30 -07:00
parent 7e555ecc1b
commit 32c9dabb74
5 changed files with 130 additions and 3 deletions

View file

@ -53,8 +53,8 @@ const FeedsTabBarDesktop = observer(
// @ts-ignore the type signature for transform wrong here, translateX and translateY need to be in separate objects -prf
<Animated.View style={[pal.view, styles.tabBar, transform]}>
<TabBar
{...props}
key={items.join(',')}
{...props}
items={items}
indicatorColor={pal.colors.link}
/>