Skip to content

Commit

Permalink
export new hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
acao committed Oct 31, 2023
1 parent aba23dc commit 39bf31d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/tiny-papayas-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@graphiql/react': patch
---

Export new hooks
2 changes: 2 additions & 0 deletions packages/graphiql-react/src/editor/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ export {
useCopyQuery,
useMergeQuery,
usePrettifyEditors,
useEditorState,
useOperationsEditorState,
useVariablesEditorState,
useHeadersEditorState,
} from './hooks';
export { useQueryEditor } from './query-editor';
export { useResponseEditor } from './response-editor';
Expand Down
2 changes: 2 additions & 0 deletions packages/graphiql-react/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ export {
useQueryEditor,
useResponseEditor,
useVariableEditor,
useEditorState,
useOperationsEditorState,
useVariablesEditorState,
useHeadersEditorState,
VariableEditor,
} from './editor';
export {
Expand Down

0 comments on commit 39bf31d

Please sign in to comment.