useDataSource
@firecms/core / useDataSource
Function: useDataSource()
Section titled “Function: useDataSource()”useDataSource(
collection?):DataSource
Defined in: hooks/data/useDataSource.tsx:9
Use this hook to get the datasource being used
Parameters
Section titled “Parameters”collection?
Section titled “collection?”EntityCollection<any, any>