我正在使用lib react-google-picker
这是我的代码
<GooglePicker clientId={'ClientId'}
developerKey={'API'}
scope='https://www.googleapis.com/auth/drive'
onChange={data => {
console.log('on change:', data);
console.log(data.action);
if(data.action == 'picked'){
console.log(data.docs[0].id);
this.getdoc(data.docs[0].id);
}
}}
onAuthFailed={data => console.log('on auth failed:', data)}
multiselect={true}
navHidden={true}
authImmediate={false}
mimeTypes={['image/png', 'image/jpeg', 'image/jpg', 'text/xml']}
query={''}
viewId={'DOCUMENTS'}>
</GooglePicker>
我想知道如何从Google选择器中更改按钮样式/ css,我尝试添加带有'variant = primary'不起作用的react-bootstrap lib