From f0f56410d9d3e498dc2f4c0368e292cbd49de0ac Mon Sep 17 00:00:00 2001 From: Juuso Mikkonen Date: Sun, 4 Nov 2018 11:01:27 +0200 Subject: [PATCH] Demonstrate CustomTabs import in readme JS example --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8b28b26..ee62175 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,8 @@ dependencies { Open the URL as `Linking` of React Native. ```javascript +import { CustomTabs } from 'react-native-custom-tabs'; + CustomTabs.openURL('https://www.google.com').then((launched: {boolean}) => { console.log(`Launched custom tabs: ${launched}`); }).catch(err => {