Skip to content

useSideDialogsController

@firecms/core


@firecms/core / useSideDialogsController

useSideDialogsController(): SideDialogsController

Defined in: hooks/useSideDialogsController.tsx:21

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 useSideEntityController hook.

If you want to select a reference, you can use the useReferenceDialog

Consider that in order to use this hook you need to have a parent FireCMS

SideDialogsController