title: How to access other component props. (React)
body: <p>Thinking that I have a component:</p>
  
  <pre><code>    &lt;Component1&gt;
          &lt;Component2 value={0}/&gt;
          {window.console.log(Component2.value)}
      &lt;/Component1&gt;
  </code></pre>
  
  <p>How may I do this window.console.log works, because I have a problem trying to reach that prop.</p>