xtreme-ui
Version:
Collection of reusable components that can be used in web projects
15 lines • 381 B
TypeScript
export type TImageEditorProps = {
className?: string;
file: Blob | undefined;
clearFile?: () => void;
minImageSize?: number;
cropShape?: "rect" | "round";
aspect?: number;
zoomSpeed?: number;
onChange: (image: TEditedImageType) => void;
};
export type TEditedImageType = {
blob?: Blob;
base64?: string;
};
//# sourceMappingURL=types.d.ts.map