pdfrx_web
    Preparing search index...

    Function PdfViewerSurface

    • The element the viewer paints into — the actual pages, text selection, links and search highlights.

      This is where the PdfrxViewer is constructed, so a PdfrxProvider tree needs exactly one of these. It has no intrinsic size: give it one, usually by letting it flex-grow inside a sized parent.

      Parameters

      Returns ReactNode

      The resulting ReactNode.

      <div style={{ display: 'flex', flexDirection: 'column', height: '100vh' }}>
      <PdfToolbar />
      <PdfViewerSurface style={{ flex: 1, minHeight: 0 }} />
      </div>