Skip to content

Feature request: fully customized toolbar #6

Open
@xiaohanyu

Description

@xiaohanyu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions