@firecms/core
Version:
Awesome Firebase/Firestore-based headless open-source CMS
19 lines (18 loc) • 643 B
TypeScript
import { SideDialogsController } from "../types";
/**
* Hook to retrieve the side dialogs' controller.
*
* This hook allows you to open and close side dialogs. This is the mechanism
* used when open a side entity dialog, or when selecting a reference.
*
* If you want to open a side entity dialog, you can use the {@link useSideEntityController}
* hook.
*
* If you want to select a reference, you can use the {@link useReferenceDialog}
*
* Consider that in order to use this hook you need to have a parent
* `FireCMS`
*
* @group Hooks and utilities
*/
export declare const useSideDialogsController: () => SideDialogsController;