scrollToCompat.js 189 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 // handle API change in react native 0.20 function scrollToCompat(scrollResponder, y, x, animate = false) { scrollResponder.scrollTo({x, y, animate}) } module.exports = scrollToCompat