Zum Inhalt springen

useModeController

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

@firecms/core


@firecms/core / useModeController

useModeController(): ModeController

Defined in: hooks/useModeController.tsx:23

Hook to retrieve the current mode (“light” | “dark”), and setMode or toggle functions to change it.

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

ModeController

ModeController