From aa3354d55ea5199f95e617550b2aa5d2b0631f53 Mon Sep 17 00:00:00 2001 From: Cai Leao Date: Fri, 5 Jan 2018 15:30:27 +0000 Subject: [PATCH 1/2] Update README.md In the second example, you are using but the import for it is missing. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cd3308b..9785296 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ render() { **2. FB's own Login button** as shown in [js/components/fbLoginButton.js](https://github.com/lakshmantgld/react-native-fbsdk-example/blob/master/js/components/fbLoginButton.js): ```js -import { LoginManager } from 'react-native-fbsdk'; +import { LoginManager, LoginButton } from 'react-native-fbsdk'; Date: Fri, 5 Jan 2018 15:40:39 +0000 Subject: [PATCH 2/2] Update README.md Realised it was missing the `AccessToken` import as well :p --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9785296..fb51988 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,7 @@ render() { **2. FB's own Login button** as shown in [js/components/fbLoginButton.js](https://github.com/lakshmantgld/react-native-fbsdk-example/blob/master/js/components/fbLoginButton.js): ```js -import { LoginManager, LoginButton } from 'react-native-fbsdk'; +import { LoginManager, LoginButton, AccessToken } from 'react-native-fbsdk';