UsePdfResult
Defined in: src/react/usePdf.ts:18
Result returned by the usePdf hook.
Properties
error
error:
Error|null
Defined in: src/react/usePdf.ts:24
Error from the last PDF extraction attempt
extractPdfContext()
extractPdfContext: (
files:PdfFile[]) =>Promise<string|null>
Defined in: src/react/usePdf.ts:20
Extract text from PDF files
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
Promise<string | null>
isProcessing
isProcessing:
boolean
Defined in: src/react/usePdf.ts:22
Whether PDF processing is in progress
Last updated on