@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.
@@ -115,6 +115,7 @@ export declare interface PdfCanvasHandle {
115
115
  addText: (text: string, options?: TOptions<TextProps>) => void;
116
116
  clearActive: () => void;
117
117
  deleteCanvas: () => void;
118
+ setActiveFabric: (options: TOptions<FabricObjectProps>) => void;
118
119
  copyActiveFabric: () => Promise<void>;
119
120
  deleteActiveFabric: () => void;
120
121
  canvasRef: React.RefObject<HTMLCanvasElement | null>;
@@ -164,6 +165,7 @@ export declare function useFabric(params?: FabricHookParams & {
164
165
  deleteCanvas: () => void;
165
166
  scaleFabric: (scale: number, isCreate?: boolean) => void;
166
167
  setCloseSvgOptions: (options?: CloseSvgOptions) => void;
168
+ setActiveFabric: (options: TOptions<FabricObjectProps>) => void;
167
169
  copyActiveFabric: () => Promise<void>;
168
170
  deleteActiveFabric: () => void;
169
171
  };