Fix codesandbox path in docs

This commit is contained in:
Nicolas Gallagher
2021-02-12 10:57:58 -08:00
parent c47bec7b93
commit d037506200

View File

@@ -30,7 +30,7 @@
{% macro codesandbox(path = '/') %}
<iframe
src="https://codesandbox.io/embed/github/necolas/react-native-web/tree/{{ site.packageVersion }}}}/packages/examples?codemirror=1&fontsize=12&hidedevtools=1&hidenavigation=1&initialpath=/{{ path }}&module=%2Fpages%2F{{ path }}%2Findex.js&theme=light"
src="https://codesandbox.io/embed/github/necolas/react-native-web/tree/{{ site.packageVersion }}/packages/examples?codemirror=1&fontsize=12&hidedevtools=1&hidenavigation=1&initialpath=/{{ path }}&module=%2Fpages%2F{{ path }}%2Findex.js&theme=light"
style="width:100%; height:500px; border:1px solid var(--docs-border-color); border-radius:4px; overflow:hidden;"
title="React Native for Web: {{ path}} examples"
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts"