creevey
Version:
Cross-browser screenshot testing tool for Storybook with fancy UI Runner
18 lines (17 loc) • 660 B
TypeScript
/// <reference types="react" />
import { ImagesViewMode, Images } from '../../../../types';
interface PageHeaderProps {
title: string[];
images?: Partial<{
[name: string]: Images;
}>;
errorMessage?: string | null;
showViewModes: boolean;
showTitle?: boolean;
viewMode: ImagesViewMode;
imagesWithError?: string[];
onImageChange: (name: string) => void;
onViewModeChange: (viewMode: ImagesViewMode) => void;
}
export declare function PageHeader({ title, images, errorMessage, showViewModes, showTitle, viewMode, imagesWithError, onImageChange, onViewModeChange, }: PageHeaderProps): JSX.Element | null;
export {};