@firecms/core
Version:
Awesome Firebase/Firestore-based headless open-source CMS
18 lines (17 loc) • 752 B
TypeScript
import React from "react";
import { Entity, ResolvedEntityCollection } from "../types";
import { FormexController } from "@firecms/formex";
export interface EntityFormActionsProps {
collection: ResolvedEntityCollection;
path: string;
entity?: Entity;
layout: "bottom" | "side";
savingError?: Error;
formex: FormexController<any>;
disabled: boolean;
status: "new" | "existing" | "copy";
pluginActions: React.ReactNode[];
openEntityMode: "side_panel" | "full_screen";
showDefaultActions?: boolean;
}
export declare function EntityFormActions({ collection, entity, layout, savingError, formex, disabled, status, pluginActions, openEntityMode }: EntityFormActionsProps): import("react/jsx-runtime").JSX.Element;