0.0.1 • Published 8 years ago
react-native-auto-scroll v0.0.1
react-native-auto-scroll
ScrollView that scrolls down responsively.
import AutoScroll from 'react-native-auto-scroll'
<View style={styles.msgsView}>
<AutoScroll
contentContainerStyle={styles.scrollContainer}>
{this.state.messages.map(msg => {
return <Message key={msg.id} message={msg} />
})}
</AutoScroll>
</View>
<TextInput style={styles.textInput} />
For more available props: Docs of ScrollView