graphiql
Version:
An graphical interactive in-browser GraphQL IDE.
15 lines (14 loc) • 526 B
TypeScript
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>;