Open
Description
Hello,
For now react-pdf supports replacing toolbar icons via RPSlot, however, the position of slots seems to be fixed—though you can hide some slots.
Also it is not possible to add a new customized button/icon with customized onClick
function to the toolbar.
react-pdf-viewer support a flexible renderToolbar function which supports fully customized toolbar, could react-pdf support this as well, I mean, builtin support? Otherwise we have to get rid of the RPDefaultLayout
completely and re-implement a new toolbar by ourselves right?
Thanks.