-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
- add buttons to useSearchCapability for SearchCapability. refer to the example of snippet, which creates many buttons using records whereas I want to create each button directly in react individually: https://github.com/embedpdf/embed-pdf-viewer/blob/main/snippet/src/components/app.tsx
many need to take some functionality from be sure not to use icons from the example, use lucide icons only
32 if needed, take some code from SearchRenderer which I have not implemented. I am trying to avoid using plugin-ui at all costs, so my EmbedPDF component can't register Renderers. But I think I should be able to get all the functionality without them. https://github.com/embedpdf/embed-pdf-viewer/blob/main/snippet/src/components/renderers.tsx
There are no docs or examples for @embedpdf/search so refer to the source code: https://github.com/embedpdf/embed-pdf-viewer/tree/main/packages/plugin-search/src
Also refer to the EmbedPDF React docs or toolbar.tsx for examples of using plugins: https://www.embedpdf.com/docs/react/understanding-plugins