UNPKG

@firecms/core

Version:

Awesome Firebase/Firestore-based headless open-source CMS

16 lines (15 loc) 864 B
import React from "react"; import { EntityCollection, EntityTableController, SelectionController } from "../../types"; export type EntityCollectionViewActionsProps<M extends Record<string, any>> = { collection: EntityCollection<M>; path: string; relativePath: string; parentCollectionIds: string[]; selectionEnabled: boolean; onNewClick: () => void; onMultipleDeleteClick: () => void; selectionController: SelectionController<M>; tableController: EntityTableController<M>; collectionEntitiesCount?: number; }; export declare function EntityCollectionViewActions<M extends Record<string, any>>({ collection, relativePath, parentCollectionIds, onNewClick, onMultipleDeleteClick, selectionEnabled, path, selectionController, tableController, collectionEntitiesCount, }: EntityCollectionViewActionsProps<M>): React.JSX.Element;