@brizy/media-gallery
Version:
20 lines (19 loc) • 854 B
TypeScript
import { ReactElement } from "react";
import { Props as UploadProps } from "@brizy/ui/lib/MultipleUpload";
import { FileTypes, Item as ItemType } from "~/pages/mediaLibrary/types/types";
import { ItemId } from "~/types/ItemId";
export interface Props {
items: ItemType[];
type: FileTypes;
isMultipleSelected: boolean;
isBulkSelected: boolean;
isAllSelected: boolean;
isDisabledBulkSelected: boolean;
height: string;
onSelectItem: (id: ItemId) => void;
onBulkSelect: VoidFunction;
onSelectAll: VoidFunction;
onSelectType: (type: FileTypes) => void;
onUpload: UploadProps["onUpload"];
}
export declare const Content: ({ items, type, isMultipleSelected, isBulkSelected, isAllSelected, isDisabledBulkSelected, height, onBulkSelect, onSelectAll, onSelectItem, onSelectType, onUpload, }: Props) => ReactElement;