react-native-screenshot-test
Version:
Screenshot testing tool for react-native apps
18 lines (17 loc) • 554 B
TypeScript
interface Component {
id: string;
title: string;
description: string;
maxWidth: number;
backgroundColor: string;
}
export interface Metadata {
components: Component[];
}
export declare const addScreenShotToPath: (imageString: string, id: string, path: string, serverUrl: string, showDiffInGrayScale: boolean) => Promise<{
status: string;
}>;
export declare const generateHtmlFile: (path: string, metaData: Metadata, serverUrl: string, maxWidth: number, backgroundColor: string) => Promise<{
status: string;
}>;
export {};