@dkluge/image-editor
Version:
A powerful React image editor component with crop, filter, annotate, and sticker features
4 lines • 424 B
TypeScript
import { Annotation } from '../types/annotation';
export declare const createDefaultAnnotation: (type: Annotation["type"], color: string, strokeWidth: number, fontSize?: number) => Annotation;
export declare const updateAnnotationProperty: <K extends keyof Annotation>(annotation: Annotation | null, key: K, value: Annotation[K], defaults?: Partial<Annotation>) => Annotation;
//# sourceMappingURL=annotationHelpers.d.ts.map