Extend TeamSync PDF Viewer with custom extension plugins.
renderHeaderActions(context)
renderModals(context)
onBeforeSave(pdfBytes, context)
import React from 'react'; import type { ViewerPlugin, PluginContext } from '@angelbot-ai/teamsync-pdf-viewer'; export function CustomPlugin(): ViewerPlugin { return { id: 'my-custom-plugin', name: 'Custom Extension', renderHeaderActions: (context: PluginContext) => ( <button onClick={() => alert('Custom action triggered!')}> Custom Button </button> ) }; }
There was an error while loading. Please reload this page.
TeamSync PDF Viewer SDK