@firecms/core
Version:
Awesome Firebase/Firestore-based headless open-source CMS
13 lines (12 loc) • 531 B
TypeScript
import { EntityCollection } from "../../types";
export interface UseTableSearchHelperParams<M extends Record<string, any>> {
collection: EntityCollection<M>;
fullPath: string;
parentCollectionIds?: string[];
}
export declare function useTableSearchHelper<M extends Record<string, any>>({ collection, fullPath, parentCollectionIds }: UseTableSearchHelperParams<M>): {
textSearchLoading: boolean;
textSearchInitialised: boolean;
onTextSearchClick: (() => void) | undefined;
textSearchEnabled: boolean;
};