From 16bf19ac5d58854a11274b41d3bcc7fecbaf1cd4 Mon Sep 17 00:00:00 2001 From: Naoufal Kadhom Date: Tue, 21 Jun 2016 20:31:01 -0400 Subject: [PATCH] Upgrade example --- examples/AccordionExample/index.ios.js | 5 ++--- examples/AccordionExample/package.json | 3 ++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/AccordionExample/index.ios.js b/examples/AccordionExample/index.ios.js index a12ede3..0a7d93e 100644 --- a/examples/AccordionExample/index.ios.js +++ b/examples/AccordionExample/index.ios.js @@ -1,7 +1,7 @@ 'use strict'; -import React, { +import React, { Component } from 'react'; +import { AppRegistry, - Component, ListView, NavigatorIOS, ScrollView, @@ -11,7 +11,6 @@ import React, { TouchableHighlight, View } from 'react-native'; - import Accordion from 'react-native-accordion'; import { range } from 'lodash'; diff --git a/examples/AccordionExample/package.json b/examples/AccordionExample/package.json index 010a8fc..05d75cd 100644 --- a/examples/AccordionExample/package.json +++ b/examples/AccordionExample/package.json @@ -7,7 +7,8 @@ }, "dependencies": { "lodash": "3.10.1", - "react-native": "0.17.0", + "react": "15.1.0", + "react-native": "0.28.0", "react-native-accordion": "../.." } }