ScrollToTop
Closed this issue · 1 comments
carlosmorcerf commented
how do I create a button with the "scrollToTop ()" type function?
natioskar commented
Just pass ref to the HeaderImageScrollView
and on button click -
scrollViewRef.current.scrollTo({ y: 0, animated: true });