diff --git a/README.md b/README.md index a8d1204..8329cd6 100644 --- a/README.md +++ b/README.md @@ -89,9 +89,16 @@ or improved. The SDK will then refresh and revalidate the user's authentication ```jsx import React, { useEffect } from 'react'; import { useContentpassSdk } from 'react-native-contentpass'; +import { Button, View } from 'react-native'; const YourApp = () => { - const { authenticate, registerObserver, unregisterObserver, logout, recoverFromError } = useContentpassSdk(); + const { + authenticate, + registerObserver, + unregisterObserver, + logout, + recoverFromError + } = useContentpassSdk(); useEffect(() => { const observer = (state) => { @@ -106,7 +113,9 @@ const YourApp = () => { }, []); return ( - + +