GraphiQL API Documentation
    Preparing search index...

    Interface SettingsDialogProps

    interface SettingsDialogProps {
        forcedTheme?: "light" | "dark" | "system";
        onOpenChange: (open: boolean) => void;
        open: boolean;
        restoreFocusRef?: RefObject<HTMLElement | null>;
        showPersistHeadersSettings?: boolean;
    }
    Index
    forcedTheme?: "light" | "dark" | "system"

    Enforce a specific theme. When set, the theme control is hidden.

    onOpenChange: (open: boolean) => void
    open: boolean
    restoreFocusRef?: RefObject<HTMLElement | null>

    The element focus should return to when the dialog closes, usually the button that opened it.

    showPersistHeadersSettings?: boolean

    Whether the "persist headers" control is shown.