سلام.میتونید از نمونه کد زیر استفاده کنید
`import { … , KeyboardAvoidingView } from ‘react-native’
class Test extends Component {
constructor () {
super()
this.state = {
behavior: ‘position’
// there is three ways to adjust (position , height , padding )
}
}
render(){
return (
this.setState({text})}
value={this.state.text}
/>
)
}
}