Skip to Content
SdkReactHooksUsePdfResult

UsePdfResult

Defined in: src/react/usePdf.ts:17 

Result returned by the usePdf hook.

Properties

error

error: Error | null

Defined in: src/react/usePdf.ts:23 

Error from the last PDF extraction attempt


extractPdfContext()

extractPdfContext: (files: PdfFile[]) => Promise<string | null>

Defined in: src/react/usePdf.ts:19 

Extract text from PDF files

Parameters

ParameterType

files

PdfFile[]

Returns

Promise<string | null>


isProcessing

isProcessing: boolean

Defined in: src/react/usePdf.ts:21 

Whether PDF processing is in progress

Last updated on