From c5c07d79599c7daf32b3cab759702ec868804817 Mon Sep 17 00:00:00 2001 From: Carlos Q Date: Wed, 8 Jun 2016 19:31:32 +0200 Subject: [PATCH] Update README.md to RN 0.27 --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 8618012..bb97949 100644 --- a/README.md +++ b/README.md @@ -44,8 +44,7 @@ or: Then: -- Whenever you want to use it within React code now you can: `var LinearGradient = - require('react-native-linear-gradient');` +- Whenever you want to use it within React code now you can: `import LinearGradient from 'react-native-linear-gradient';` **If you're having trouble, you can point your `package.json` at github to see if the issue has been fixed. Simply change the dependency**