diff --git a/packages/native/src/createNavigationAwareScrollable.js b/packages/native/src/createNavigationAwareScrollable.js index f985952a..60df24c2 100644 --- a/packages/native/src/createNavigationAwareScrollable.js +++ b/packages/native/src/createNavigationAwareScrollable.js @@ -20,39 +20,39 @@ export default function createNavigationAwareScrollable(Component: any) { } } }); - } + } setNativeProps = (...args) => { return this.getNode().setNativeProps(...args); - } + }; getScrollResponder = (...args) => { return this.getNode().getScrollResponder(...args); - } + }; getScrollableNode = (...args) => { return this.getNode().getScrollableNode(...args); - } + }; getInnerViewNode = (...args) => { return this.getNode().getInnerViewNode(...args); - } + }; scrollTo = (...args) => { return this.getNode().scrollTo(...args); - } + }; scrollToEnd = (...args) => { return this.getNode().scrollToEnd(...args); - } + }; scrollWithoutAnimationTo = (...args) => { return this.getNode().scrollWithoutAnimationTo(...args); - } + }; flashScrollIndicators = (...args) => { return this.getNode().flashScrollIndicators(...args); - } + }; getNode() { if (this._scrollRef === null) { @@ -91,4 +91,3 @@ export default function createNavigationAwareScrollable(Component: any) { Component ); } -