UNPKG

metadata-based-explorer1

Version:
23 lines (22 loc) 658 B
// @flow export type CommonGridViewFunctions = { onItemDelete: (item: BoxItem) => void, onItemDownload: (item: BoxItem) => void, onItemPreview: (item: BoxItem) => void, onItemRename: (item: BoxItem) => void, onItemSelect: (item: BoxItem, callback: Function) => void, onItemShare: (item: BoxItem) => void, }; export type ItemGridProps = { canDelete: boolean, canDownload: boolean, canPreview: boolean, canRename: boolean, canShare: boolean, isSmall: boolean, isTouch: boolean, onItemClick: (item: BoxItem | string) => void, rootId: string, view: View, ...$Exact<CommonGridViewFunctions>, };