UNPKG

@firecms/core

Version:

Awesome Firebase/Firestore-based headless open-source CMS

12 lines (11 loc) 464 B
import React from "react"; import { Entity, EntityStatus, EnumValues } from "../../types"; export declare function CustomIdField<M extends Record<string, any>>({ customId, entityId, status, onChange, error, entity, loading }: { customId?: boolean | EnumValues | "optional"; entityId?: string; status: EntityStatus; onChange: (id?: string) => void; error: boolean; entity: Entity<M> | undefined; loading: boolean; }): React.JSX.Element;