This Pr adds a customizePicker prop which receives the picker, a reference to the Google namespace to do more picker-related things, and also passes a “view builder” function that lets you quickly build additional views and sub-classes the view class appropriately, to enable more features per view.
This allowed us to create a picker with multiple views (tabs) for: Google Drive, Recent Files, Upload and more.
There is an appearance of a lot of changes because I also replaced es-lint with Standard.js, which uses es-lint under the hood.
This Pr adds a
customizePicker
prop which receives the picker, a reference to the Google namespace to do more picker-related things, and also passes a “view builder” function that lets you quickly build additional views and sub-classes the view class appropriately, to enable more features per view.This allowed us to create a picker with multiple views (tabs) for: Google Drive, Recent Files, Upload and more.
There is an appearance of a lot of changes because I also replaced es-lint with Standard.js, which uses es-lint under the hood.