Skip to content

Commit 7d6b269

Browse files
Swordsman-Inactionalvaromb
authored andcommitted
Feat(export function) (#51)
Export `getScrollResponder`.
1 parent 7efb78b commit 7d6b269

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

lib/KeyboardAwareListView.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ const KeyboardAwareListView = React.createClass({
2020
this.setResetScrollToCoords(this.props.resetScrollToCoords)
2121
},
2222

23+
getScrollResponder() {
24+
return this.refs._rnkasv_keyboardView.getScrollResponder()
25+
},
26+
2327
render: function () {
2428
return (
2529
<ListView

lib/KeyboardAwareScrollView.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ const KeyboardAwareScrollView = React.createClass({
2020
this.setResetScrollToCoords(this.props.resetScrollToCoords)
2121
},
2222

23+
getScrollResponder() {
24+
return this.refs._rnkasv_keyboardView.getScrollResponder()
25+
},
26+
2327
render: function () {
2428
return (
2529
<ScrollView

0 commit comments

Comments
 (0)