Skip to content

Commit d779df1

Browse files
authored
docs(examples): add react native expo snack example (TanStack#3156)
1 parent d12d0cf commit d779df1

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

docs/src/manifests/manifest.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,11 @@
306306
"title": "Next.js",
307307
"path": "/examples/nextjs",
308308
"editUrl": "/examples/nextjs.mdx"
309+
},
310+
{
311+
"title": "React Native",
312+
"path": "/examples/react-native",
313+
"editUrl": "/examples/react-native.mdx"
309314
}
310315
]
311316
},
@@ -442,4 +447,4 @@
442447
]
443448
}
444449
]
445-
}
450+
}
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
id: react-native
3+
title: React Native
4+
toc: false
5+
---
6+
7+
- [Open the Snack](https://snack.expo.dev/@arnaudbzn/react-query-basic-example)
8+
9+
<iframe
10+
src="https://snack.expo.dev/@arnaudbzn/react-query-basic-example"
11+
title="tannerlinsley/react-query: react native"
12+
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"
13+
style={{
14+
width: '100%',
15+
height: '80vh',
16+
border: '0',
17+
borderRadius: 8,
18+
overflow: 'hidden',
19+
position: 'static',
20+
zIndex: 0,
21+
}}
22+
></iframe>

0 commit comments

Comments
 (0)