1.2.0 • Published 2 years ago
@s-ui/sui-google-api-client-loader v1.2.0
GoogleApiClientLoader
Ensures Google API Client Library script is loaded before allowing to render the child content
Installation
$ npm install @s-ui/sui-google-api-client-loader
Usage
Google API Client Library for JavaScript documentation
Import package and use the component
import GoogleApiClientLoader from '@s-ui/sui-google-api-client-loader'
return (<GoogleOneTapLoader render={() => 'You can use Google API client library now!'}/>)
Find full description and more examples in the demo page.