@brizy/media-gallery
Version:
22 lines (21 loc) • 768 B
TypeScript
import { ReactElement } from "react";
import { Item as ItemType } from "~/pages/stockPhotos/types/types";
import { ItemId } from "~/types/ItemId";
type FieldType = {
value: string;
onChange: (value: string) => void;
onBlur: VoidFunction;
};
export interface Props {
items: ItemType[];
isMultipleSelected: boolean;
isBulkSelected: boolean;
isDisabledBulkSelected: boolean;
isSearchDisabled: boolean;
search: FieldType;
onSelectItem: (id: ItemId) => void;
onBulkSelect: VoidFunction;
onSearchClick: VoidFunction;
}
export declare const Content: ({ items, isMultipleSelected, isBulkSelected, isDisabledBulkSelected, isSearchDisabled, search, onBulkSelect, onSelectItem, onSearchClick, }: Props) => ReactElement;
export {};