title: Read child prop of unknown parent
body: <p>I'm trying to access the value of a prop, but the parent prop is a randomly generated number. </p>
  
  <p>If this were a simple array, it would be something like <code>this.props.photos[0].url</code> but unfortunately it doesn't seem that simple. How do I get the value of the url?</p>
  
  <p>Here is my code :</p>
  
  <pre><code>imagedetails={this.props.thought.photos}
  </code></pre>
  
  <p>I've tried <code>props.children.url</code>, <code>props.children[0].url</code>, etc.</p>