GraphiQL API Documentation
    Preparing search index...

    Interface ActivityRailProps

    interface ActivityRailProps {
        onPluginToggle?: (nextPlugin: GraphiQLPlugin | null) => void;
        onSettingsClick?: () => void;
        settingsButtonRef?: RefObject<HTMLButtonElement | null>;
    }
    Index
    onPluginToggle?: (nextPlugin: GraphiQLPlugin | null) => void

    Called when a plugin button is clicked, after the store has been updated. Receives the plugin that is now visible, or null if the panel was closed.

    onSettingsClick?: () => void

    Called when the settings gear button is clicked.

    settingsButtonRef?: RefObject<HTMLButtonElement | null>

    Attached to the settings gear button so the settings dialog can restore focus to it on close.