@firecms/core
Version:
Awesome Firebase/Firestore-based headless open-source CMS
22 lines (21 loc) • 857 B
TypeScript
import React from "react";
import { CollectionSize, EntityCollection, EntityReference, FilterValues } from "../../../types";
type TableReferenceFieldProps = {
name: string;
disabled: boolean;
internalValue: EntityReference | EntityReference[] | undefined | null;
updateValue: (newValue: (EntityReference | EntityReference[] | null)) => void;
size: CollectionSize;
multiselect: boolean;
previewProperties?: string[];
title?: string;
path: string;
forceFilter?: FilterValues<string>;
includeId?: boolean;
includeEntityLink?: boolean;
};
export declare function TableReferenceField(props: TableReferenceFieldProps): import("react/jsx-runtime").JSX.Element;
export declare const TableReferenceFieldInternal: React.NamedExoticComponent<TableReferenceFieldProps & {
collection: EntityCollection;
}>;
export {};