I created an component
<div>
<img src= {this.props.source} style={this.props.style} />
</div>
And in other component I call this component to create my images with:
render() {
return (
<Image source={src_image} style={imgstyle}/>
<Image source={src_image} style={imgstyle}/>
<Image source={src_image} style={imgstyle}/>
<Image source={src_image} style={imgstyle}/>
)}
My images are created as I want.Now I want to loop all my images to modify all their style by function button .Please How to loop all my images one by one in the function button ?