Skip to content

Commit

Permalink
docs: add graphql example
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerlinsley committed Sep 16, 2020
1 parent 0c7f63d commit 2fdecb1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/src/manifests/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,11 @@
"path": "/docs/examples/basic",
"editUrl": "/docs/examples/basic.mdx"
},
{
"title": "Basic w/ GraphQL-Request",
"path": "/docs/examples/basic-graphql-request",
"editUrl": "/docs/examples/basic-graphql-request.mdx"
},
{
"title": "Custom Hooks",
"path": "/docs/examples/custom-hooks",
Expand Down
23 changes: 23 additions & 0 deletions docs/src/pages/docs/examples/basic-graphql-request.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
id: basic-graphql-request
title: Basic w/ GraphQL-Request
toc: false
---

- [Open in CodeSandbox](https://codesandbox.io/s/github/tannerlinsley/react-query/tree/master/examples/basic-graphql-request)
- [View Source](https://github.com/tannerlinsley/react-query/tree/master/examples/basic-graphql-request)

<iframe
src="https://codesandbox.io/embed/github/tannerlinsley/react-query/tree/master/examples/basic-graphql-request?autoresize=1&fontsize=14&theme=dark"
title="tannerlinsley/react-query: basic-graphql-request"
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
style={{
width: '100%',
height: '80vh',
border: '0',
borderRadius: 8,
overflow: 'hidden',
position: 'static',
zIndex: 0,
}}
></iframe>

1 comment on commit 2fdecb1

@vercel
Copy link

@vercel vercel bot commented on 2fdecb1 Sep 16, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.