How to add a custom icon for annotation.

Product:
@pdftron/react-native-pdf”: “3.0.4-4”

Product Version:
3.0.4-4

Please give a brief summary of your issue:
(Think of this as an email subject)

How to add a custom icon for an annotation.

Please describe your issue and provide steps to reproduce it:
(The more descriptive your answer, the faster we are able to help you)

In the annotation toolbar I want to replace the existing buttons/add a button with my custom icon suiting our business. I would still be okay with persisting the existing on tap logic and instead I only want to change the icon.

1 Like

Thank you for reaching out for support in our forums. You can try creating your annotation toolbar via our annotationToolbars API: pdftron-react-native/API.md at master · ApryseSDK/pdftron-react-native · GitHub
And you can use the IDs of existing tools defined here: pdftron-react-native/lib/src/Config/Config.js at master · ApryseSDK/pdftron-react-native · GitHub

1 Like