react-native-fading-textview
v1.0.2
Published
TextView with animated placeholder
Downloads
4
Maintainers
Readme
Demo
Installation
- Run
npm i react-native-fading-textview --save
import AnimatedTextView from 'react-native-fading-textview'
Basic usage
this.state.examples = ["Birthday..", "Farewell..", "Nightout..", "Trekking.."];
<AnimatedTextView
examples={this.state.examples}
onChangeText={this.onChangeText}
placeholderColor={"black"}
animatedTextColor={"green"}
style={{ fontSize: 30 }}
placeholder={"Name ur day"}
/>