mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-12 22:30:36 +08:00
Fix formatting
This commit is contained in:
@@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user