Add toImageButtonOptions to config (#36144)
Add toImageButtonOptions to config (#36144)

* Add toImageButtonOptions to config

This enables the user to customize the download as image button.

* Fix to partial

* Update index.d.ts

* Update index.d.ts

georgemarshall/DefinitelyTyped,dsebastien/DefinitelyTyped,markogresak/DefinitelyTyped,georgemarshall/DefinitelyTyped,mcliment/DefinitelyTyped,georgemarshall/DefinitelyTyped,dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped