Created
July 4, 2017 19:47
-
-
Save JosephDuffy/c013a5858e14e5bea969c969c7fe3487 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react'; | |
import { ScrollView } from 'react-native'; | |
class Foo extends React.Component { | |
private scrollView: ScrollView; | |
render() { | |
return ( | |
<ScrollView | |
ref={ref => { this.scrollView = ref }} | |
/> | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment