pdfjs-annotation-extension-for-react 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -313,7 +313,7 @@ declare type PdfAnnotatorUserOptions = DeepPartial<PdfAnnotatorOptions>;
313
313
  export declare interface PdfBaseProps {
314
314
  /**
315
315
  * 主题色
316
- * @default: 'indigo'
316
+ * @default: 'violet'
317
317
  */
318
318
  theme?: 'ruby' | 'indigo' | 'gray' | 'gold' | 'bronze' | 'brown' | 'yellow' | 'amber' | 'orange' | 'tomato' | 'red' | 'crimson' | 'pink' | 'plum' | 'purple' | 'violet' | 'iris' | 'blue' | 'cyan' | 'teal' | 'jade' | 'green' | 'grass' | 'lime' | 'mint' | 'sky' | undefined;
319
319
  /**
@@ -344,6 +344,11 @@ export declare interface PdfBaseProps {
344
344
  * 控制侧边栏是否折叠
345
345
  */
346
346
  isSidebarCollapsed?: boolean;
347
+ /**
348
+ * 是否开启流式加载模式, auto 为自动判断
349
+ * @default auto
350
+ */
351
+ enableRange?: boolean | 'auto';
347
352
  }
348
353
 
349
354
  declare type PdfjsAnnotationSubtype = 'None' | 'Link' | 'Text' | 'Widget' | 'Popup' | 'FreeText' | 'Line' | 'Square' | 'Circle' | 'PolyLine' | 'Polygon' | 'Caret' | 'Ink' | 'Highlight' | 'Underline' | 'Squiggly' | 'StrikeOut' | 'Stamp' | 'FileAttachment' | 'Note' | 'Arrow';