From de6338efac0647aa7952a9d0dcd592ad11140445 Mon Sep 17 00:00:00 2001 From: dabit3 Date: Thu, 22 Sep 2016 18:53:28 -0500 Subject: [PATCH] upgraded RN verions --- package.json | 4 ++-- src/contact/Contact.js | 15 ++++++++++++--- src/home/Home.js | 2 +- src/images/avatar1.jpg | Bin 0 -> 72254 bytes src/more/More.js | 7 ++++++- 5 files changed, 21 insertions(+), 7 deletions(-) create mode 100644 src/images/avatar1.jpg diff --git a/package.json b/package.json index efc3e5c5..780ce538 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "HackathonStarter", - "version": "0.5.0", + "version": "0.5.1", "private": true, "scripts": { "start": "node node_modules/react-native/local-cli/cli.js start" @@ -9,7 +9,7 @@ "lodash": "^4.15.0", "react": "15.3.1", "react-native": "0.32.0", - "react-native-elements": "0.5.2", + "react-native-elements": "0.5.4", "react-native-vector-icons": "^2.1.0", "react-redux": "^4.4.5", "redux": "^3.5.2" diff --git a/src/contact/Contact.js b/src/contact/Contact.js index dcc50216..21a405ca 100644 --- a/src/contact/Contact.js +++ b/src/contact/Contact.js @@ -14,17 +14,26 @@ import { let styles = {} class Contact extends Component { + componentDidMount () { + console.log('refs:', this.refs) + } render () { + console.log('refs from Contact:', this.refs) return ( Forms - Name - + Name + Address - + Phone