The Google Drive plugin for Filerobot Media Asset Widget lets users import files from their Google Drive account.
npm install --save @filerobot/google-drive
yarn add @filerobot/google-drive
then
import GoogleDrive from '@filerobot/google-drive'
...
...
...
filerobot.use(GoogleDrive, propertiesObject)
The plugin from CDN is found inside Filerobot
global object Filerobot.GoogleDrive
const googleDrive = window.Filerobot.GoogleDrive
...
...
...
filerobot.use(googleDrive, propertiesObject)
Type: string
Default: 'Google Drive'
The title/label that would be shown & used for the plugin.
Type: null
| object
Default: null
If you need to pass additional headers for in companion requests then pass them in this property.