SHARE
TWEET

Untitled

a guest Jul 21st, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. this.state = { expanded: false, }
  2. `this.open = this.open.bind(this)`
  3. `this.close = this.close.bind(this)`
  4. }
  5.      
  6. return(
  7.   <div className="user-details">
  8.     <p className="btn btn-danger" onClick={this.close}>Ocultar</p>
  9.     <ul>
  10.       <li><h4>{info.name}</h4></li>
  11.       <li><h5>Período de Rotação: {info.rotation_period}</h5></li>
  12.       <li><h5>Período da Órbita:  {info.orbital_period}</h5></li>
  13.       <li><h5>Diâmetro:           {info.diameter}</h5></li>
  14.       <li><h5>Clima:              {info.climate}</h5></li>
  15.       <li><h5>Gravidade:          {info.gravity}</h5></li>
  16.       <li><h5>Tipo de Terreno:    {info.terrain}</h5></li>
  17.       <li><h5>Espelho D'Água:     {info.surface_water}</h5></li>
  18.       <li><h5>População:          {info.population}</h5></li>
  19.       <li><h5>Período de Rotação: {info.rotation_period}</h5></li>
  20.     </ul>
  21.   </div>
  22. )
  23.      
  24. this.state = { expanded: false, }
  25. `this.open = this.open.bind(this)`
  26. `this.close = this.close.bind(this)`
  27. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top