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 => {