creevey
Version:
Cross-browser screenshot testing tool for Storybook with fancy UI Runner
13 lines (12 loc) • 380 B
TypeScript
import React from 'react';
import { Theme } from '@storybook/theming';
interface ImageSwapProps {
url: string;
isActive: boolean;
onClick: (imageName: string) => void;
imageName: string;
theme: Theme;
error?: boolean;
}
export declare const ImagePreview: React.SFC<import("emotion-theming/types/helper").AddOptionalTo<ImageSwapProps, "theme">>;
export {};