daily pastebin goal
26%
SHARE
TWEET

Untitled

a guest Mar 20th, 2019 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class ListaDeTarefas extends Component{
  2.  
  3.  
  4.     render(){
  5.       return(
  6.       <div className="Lista">
  7.         <ul>
  8.           {this.props.tarefas.map((x,key)=> {
  9.               var editor = null;
  10.               if (this.props.edita == key)
  11.                 editor = (<EdicaoTexto item={key} valor={x} />);
  12.               return (
  13.                 <li>
  14.                     <a onClick={this.props.clickhandler}>{x}</a>
  15.                     {editor}
  16.                 </li>
  17.               );
  18.           })
  19.           }
  20.         </ul>
  21.         </div>
  22.     );
  23.  
  24.  
  25.   }
  26. }
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
 
Top