Skip to content

Commit a4382bf

Browse files
authored
export GraphiQLInterface (#4059)
* upd * upd
1 parent 36ccb33 commit a4382bf

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.changeset/smart-zoos-doubt.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'graphiql': patch
3+
---
4+
5+
export `GraphiQLInterface`

packages/graphiql/src/GraphiQL.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ const LABEL = {
189189
newTab: 'New tab',
190190
};
191191

192-
const GraphiQLInterface: FC<GraphiQLInterfaceProps> = ({
192+
export const GraphiQLInterface: FC<GraphiQLInterfaceProps> = ({
193193
forcedTheme,
194194
isHeadersEditorEnabled = true,
195195
defaultEditorToolsVisibility,

packages/graphiql/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
*/
99
import './style.css';
1010

11-
export { GraphiQL, type GraphiQLProps } from './GraphiQL';
11+
export { GraphiQL, GraphiQLInterface, type GraphiQLProps } from './GraphiQL';
1212

1313
export { HISTORY_PLUGIN } from '@graphiql/plugin-history';

0 commit comments

Comments
 (0)