Files
firecms/website/docs/api/functions/entitycollectiontable.md
2021-06-06 13:36:47 +02:00

1.1 KiB

id, title, sidebar_label, sidebar_position, custom_edit_url
id title sidebar_label sidebar_position custom_edit_url
entitycollectiontable Function: EntityCollectionTable EntityCollectionTable 0 null

EntityCollectionTable<S, Key>(__namedParameters): Element

This component is in charge of binding a Firestore path with an EntityCollection where it's configuration is defined. This is useful if you have defined already your entity collections and need to build a custom component.

If you need a lower level implementation with more granular options, you can try CollectionTable, which still does data fetching from Firestore.

Type parameters

Name Type
S S: EntitySchema<Key, any, S>
Key Key: string

Parameters

Name Type
__namedParameters EntityCollectionProps<S, Key>

Returns

Element

Defined in

collection/EntityCollectionTable.tsx:58