zahra
8 سال پیش توسط zahra مطرح شد
1 پاسخ

state in react native

دوستان من چطور می تونم state را توی ورودی متد call بنویسم

}
export default class ScanPhoto extends Component{  
constructor(props) {  
super(props);  
this.state = {  
bahar: ''",  
};  
}  
<Button iconLeft transparent success onPress={()=>{call()}}>  
<Icon name='call'/>  
</Button>
}
    }
    phoneWomanChange = (text) => {
        this.setState({ bahar: text });
    }