I am currently integrating Google's save to drive API into a project and I'm interested in customizing the button provided. Despite the documentation suggesting that an element can be created and overlaid on top of the button for styling, I haven't come across any functional examples to do so.
You can find their comprehensive documentation here.
Below is the div structure we have at our disposal:
<div
className="g-savetodrive"
data-src={file}
data-filename={file}
data-sitename="site.com"
/>
The current appearance of the button appears outdated and doesn't align well with the overall design of my site.
Although I've managed to create a clickable div by using pointer-events: none, the challenge lies in not being able to adjust the size of the save to drive button.