From 02c69d4c6471a5e6e17466056066f83a75244af0 Mon Sep 17 00:00:00 2001 From: Brad Adams Date: Wed, 4 Apr 2018 22:07:32 +0200 Subject: [PATCH] Update README.md Update README instructions to comply with RN 0.26.0+ --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 78e8f2a..b525946 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,13 @@ Google Analytics for React Native! Below is an example that utilizes this library along with enhanced ecommerce functionality and `react-native-ab` for A/B testing. ```javascript -import React from 'react-native'; -const { +import React from 'react'; +import { StyleSheet, Text, View, TouchableHighlight -} = React; +} from 'react-native'; import { Experiment, Variant } from 'react-native-ab'; import { Analytics,