How to access an element of a Tag

0

I'm trying to pass my javascript code (ReactJS) the path image:

And in the code I write like this:

source={{ uri: this.state.modelo.baner[0].url_img }} 

And the browser accuses this error:

  

TypeError: Can not read property '0' of undefined

    
asked by anonymous 10.04.2018 / 20:34

0 answers