Right now Google picker is displaying all my files such as text files, images, etc etc, how can i get it so that it only shows Shared Drives, I'm assuming it has to do something with the MimeTypes parameter but i don't know what to put there. Any ideas you guys have for it?
import React, {Component} from 'react';
import GooglePicker from 'react-google-picker';
const SharedDriveAction = ({SharedDriveAction}) => {
return (
<GooglePicker clientId={'*****************'}
developerKey={'*************'}
scope={['https://www.googleapis.com/auth/drive.readonly']}
onChange={data => console.log('on change:', data)}
onAuthFailed={data => console.log('on auth failed:', data)}
multiselect={true}
navHidden={true}
authImmediate={false}
mimeTypes={[]}
viewId={'DOCS'}>
</GooglePicker>
);
}
export default SharedDriveAction;