Closed carlosmorcerf closed 3 years ago
how do I create a button with the "scrollToTop ()" type function?
Just pass ref to the HeaderImageScrollView
HeaderImageScrollView
and on button click -
scrollViewRef.current.scrollTo({ y: 0, animated: true });
how do I create a button with the "scrollToTop ()" type function?