@component-hook/pdf-canvas 1.2.1 → 1.2.2-alpha.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.
@@ -69,6 +69,7 @@ addImage: typeof addImage;
69
69
  addText: typeof addText;
70
70
  clearActive: () => void;
71
71
  deleteCanvas: () => void;
72
+ setActiveFabric: (options: TOptions<FabricObjectProps>) => void;
72
73
  copyActiveFabric: () => Promise<void>;
73
74
  deleteActiveFabric: () => void;
74
75
  canvasRef: Ref<HTMLCanvasElement | null, HTMLCanvasElement | null>;
@@ -188,6 +189,7 @@ export declare function useFabric(params?: FabricHookParams & {
188
189
  deleteCanvas: () => void;
189
190
  scaleFabric: (scale: number, isCreate?: boolean) => void;
190
191
  setCloseSvgOptions: (options?: CloseSvgOptions) => void;
192
+ setActiveFabric: (options: TOptions<FabricObjectProps>) => void;
191
193
  copyActiveFabric: () => Promise<void>;
192
194
  deleteActiveFabric: () => void;
193
195
  };