@brizy/media-gallery
Version:
28 lines (27 loc) • 899 B
TypeScript
import { ReactElement } from "react";
export interface Props {
onCancel: VoidFunction;
loading?: {
delete?: boolean;
preview?: boolean;
cancel?: boolean;
insertFiles?: boolean;
};
disabled?: {
delete?: boolean;
preview: boolean;
cancel: boolean;
insertFiles?: boolean;
};
onClick: VoidFunction;
previewLink: string | undefined;
onDelete?: VoidFunction;
onPrevClick: VoidFunction;
onNextClick: VoidFunction;
isMultipleSelected: boolean;
isFirstPage: boolean;
isLastPage: boolean;
isWithInsertFiles: boolean;
isWithImportToLibrary?: boolean;
}
export declare const Footer: ({ onCancel, loading, disabled, onClick, previewLink, onDelete, onPrevClick, onNextClick, isMultipleSelected, isFirstPage, isLastPage, isWithInsertFiles, isWithImportToLibrary, }: Props) => ReactElement;