react-web-native-sketch
Version:
[TODO: We need an overview of how this can be used via npm vs as a local package]
14 lines (13 loc) • 575 B
TypeScript
export declare function getImageUrl(url: string | any): string | any;
export declare function checkImageRestrictions(showAlert: Function, t: Function, width: number, height: number, minWidth?: number, maxWidth?: number, minHeight?: number, maxHeight?: number, fixedWidth?: number, fixedHeight?: number, ratioWidthHeight?: number): boolean;
export declare function getPhotoDetails(formData: {
rawValue: {
type: string;
} | any;
}): {
file: any;
'Content-Type': any;
};
export declare function getImagePreview(formData: {
rawValue: any;
}): string;