@component-hook/pdf-canvas 1.1.4 → 1.2.0

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.
@@ -117,7 +117,7 @@ export declare interface PdfCanvasHandle {
117
117
  deleteCanvas: () => void;
118
118
  copyActiveFabric: () => Promise<void>;
119
119
  deleteActiveFabric: () => void;
120
- canvasRef: React.RefObject<HTMLCanvasElement>;
120
+ canvasRef: React.RefObject<HTMLCanvasElement | null>;
121
121
  }
122
122
 
123
123
  export declare interface RenderImageArgs {