creevey
Version:
Cross-browser screenshot testing tool for Storybook with fancy UI Runner
26 lines (25 loc) • 702 B
TypeScript
/// <reference types="react" />
import { Images, ImagesViewMode } from '../../../../types';
import { Theme } from '@storybook/theming';
export declare const themeBorderColors: {
actual: string;
expect: string;
diff: string;
};
export declare function getBorderColor(theme: Theme, color: string): string;
interface ViewProps {
actual: string;
diff: string;
expect: string;
}
export interface ViewPropsWithTheme extends ViewProps {
theme: Theme;
}
interface ImagesViewProps {
url: string;
image: Images;
canApprove: boolean;
mode: ImagesViewMode;
}
export declare function ImagesView({ url, image, canApprove, mode }: ImagesViewProps): JSX.Element;
export {};