Skip to content

Commit 2fdecb1

Browse files
committed
docs: add graphql example
1 parent 0c7f63d commit 2fdecb1

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

docs/src/manifests/manifest.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,11 @@
181181
"path": "/docs/examples/basic",
182182
"editUrl": "/docs/examples/basic.mdx"
183183
},
184+
{
185+
"title": "Basic w/ GraphQL-Request",
186+
"path": "/docs/examples/basic-graphql-request",
187+
"editUrl": "/docs/examples/basic-graphql-request.mdx"
188+
},
184189
{
185190
"title": "Custom Hooks",
186191
"path": "/docs/examples/custom-hooks",
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
id: basic-graphql-request
3+
title: Basic w/ GraphQL-Request
4+
toc: false
5+
---
6+
7+
- [Open in CodeSandbox](https://codesandbox.io/s/github/tannerlinsley/react-query/tree/master/examples/basic-graphql-request)
8+
- [View Source](https://github.com/tannerlinsley/react-query/tree/master/examples/basic-graphql-request)
9+
10+
<iframe
11+
src="https://codesandbox.io/embed/github/tannerlinsley/react-query/tree/master/examples/basic-graphql-request?autoresize=1&fontsize=14&theme=dark"
12+
title="tannerlinsley/react-query: basic-graphql-request"
13+
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
14+
style={{
15+
width: '100%',
16+
height: '80vh',
17+
border: '0',
18+
borderRadius: 8,
19+
overflow: 'hidden',
20+
position: 'static',
21+
zIndex: 0,
22+
}}
23+
></iframe>

0 commit comments

Comments
 (0)