prop-methods
import {TextInput} from 'react-native' const Example = props => { render(){ renturn( <TextInput onChangeText={handleTextChange}></TextInput> ) } } const handleTextChange = text => alert(`text: ${text}`)
Last updated
import {TextInput} from 'react-native'
const Example = props => {
render(){
renturn(
<TextInput onChangeText={handleTextChange}></TextInput>
)
}
}
const handleTextChange = text => alert(`text: ${text}`)Last updated