daily pastebin goal
29%
SHARE
TWEET

U3 Artículo1 SE7

raulghm Feb 17th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. pickButton() {
  2.     if (this.state.section === 'todoList') {
  3.       return (
  4.         <Button
  5.           onPress={() => { this.changeStateSection('addTodo'); }}
  6.           title="Add Todo"
  7.         />
  8.       );
  9.     }
  10.  
  11.     return (
  12.       <Button
  13.         onPress={() => { this.changeStateSection('todoList'); }}
  14.         title="Cancel"
  15.       />
  16.     );
  17.   }
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