CMSViewsBuilder
Ce contenu n’est pas encore disponible dans votre langue.
@firecms/core / CMSViewsBuilder
Type Alias: CMSViewsBuilder()
Section titled “Type Alias: CMSViewsBuilder()”CMSViewsBuilder = (
params) =>CMSView[] |Promise<CMSView[]>
Defined in: types/firecms.tsx:43
Use this callback to build custom views dynamically. You can use the user to decide which views to show. You can also use the data source to fetch additional data to build the views. Note: you can use any type of synchronous or asynchronous code here, including fetching data from external sources, like using the Firestore APIs directly, or a REST API.
Parameters
Section titled “Parameters”params
Section titled “params”authController
Section titled “authController”dataSource
Section titled “dataSource”User | null