UNPKG

graphiql

Version:
15 lines (14 loc) • 526 B
import { FC } from 'react'; import { useDragResize } from '@graphiql/react'; export interface ActivityBarProps { /** * Enforce a specific theme; hides the theme control in the settings dialog. */ forcedTheme?: 'light' | 'dark' | 'system'; /** * Whether the "persist headers" control appears in the settings dialog. */ showPersistHeadersSettings?: boolean; setHiddenElement: ReturnType<typeof useDragResize>['setHiddenElement']; } export declare const ActivityBar: FC<ActivityBarProps>;