Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save claudiainbytes/08ec5fb1d0dc3d6feff66b69cc00be83 to your computer and use it in GitHub Desktop.
Save claudiainbytes/08ec5fb1d0dc3d6feff66b69cc00be83 to your computer and use it in GitHub Desktop.

Revisions

  1. claudiainbytes created this gist May 18, 2018.
    10 changes: 10 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,10 @@
    {this.state.screen === 'list' && (
    <ListContacts
    contacts={this.state.contacts}
    onDeleteContact={this.removeContact}
    />
    )};

    {this.state.screen === 'create' && (
    <CreateContact />
    )}