We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8ff87d7 commit 343dd59Copy full SHA for 343dd59
.changeset/gentle-bugs-mix.md
@@ -0,0 +1,19 @@
1
+---
2
+'graphiql': major
3
4
+
5
+remove default export
6
7
+## Migration
8
9
+### Before
10
11
+```jsx
12
+import GraphiQL from 'graphiql'
13
+```
14
15
+### After
16
17
18
+import { GraphiQL } from 'graphiql'
19
packages/graphiql/src/index.ts
@@ -23,8 +23,4 @@ export type {
23
} from './components/GraphiQL';
24
export type { GraphiQLProviderProps } from '@graphiql/react';
25
26
-export {
27
- GraphiQLInterface,
28
- GraphiQL,
29
- GraphiQL as default,
30
-} from './components/GraphiQL';
+export { GraphiQLInterface, GraphiQL } from './components/GraphiQL';
0 commit comments