@firecms/core
Version:
Awesome Firebase/Firestore-based headless open-source CMS
39 lines (38 loc) • 1.46 kB
TypeScript
import React from "react";
import { CollectionSize, Entity, EntityAction, EntityCollection, SelectionController } from "../../types";
/**
*
* @param entity
* @param width
* @param frozen
* @param isSelected
* @param selectionEnabled
* @param size
* @param toggleEntitySelection
* @param hideId
*
* @group Collection components
*/
export declare const EntityCollectionRowActions: ({ entity, collection, fullPath, fullIdPath, width, frozen, isSelected, selectionEnabled, size, highlightEntity, onCollectionChange, unhighlightEntity, actions, hideId, selectionController, openEntityMode, sortableNodeRef, sortableStyle, sortableAttributes, isDragging, isDraggable }: {
entity: Entity<any>;
collection?: EntityCollection<any>;
fullPath?: string;
fullIdPath?: string;
width: number;
frozen?: boolean;
size: CollectionSize;
isSelected?: boolean;
selectionEnabled?: boolean;
actions?: EntityAction[];
hideId?: boolean;
onCollectionChange?: () => void;
selectionController?: SelectionController;
highlightEntity?: (entity: Entity<any>) => void;
unhighlightEntity?: (entity: Entity<any>) => void;
openEntityMode: "side_panel" | "full_screen";
sortableNodeRef?: (node: HTMLElement | null) => void;
sortableStyle?: React.CSSProperties;
sortableAttributes?: Record<string, any>;
isDragging?: boolean;
isDraggable?: boolean;
}) => import("react/jsx-runtime").JSX.Element;