-
Notifications
You must be signed in to change notification settings - Fork 189
Open
Description
tanstack.com/app/routes/$libraryId/$version.docs.framework.$framework.examples.$.tsx
Lines 54 to 58 in baae710
const stackBlitzUrl = `https://stackblitz.com/github/${ | |
library.repo | |
}/tree/${branch}/examples/${examplePath}?embed=1&theme=${ | |
isDark ? 'dark' : 'light' | |
}&preset=node&file=${sandboxFirstFileName}` |
tanstack.com/app/routes/$libraryId/$version.docs.framework.$framework.examples.$.tsx
Lines 104 to 111 in baae710
<a | |
href={stackBlitzUrl} | |
target="_blank" | |
className="flex gap-1 items-center" | |
rel="noreferrer" | |
> | |
<FaExternalLinkAlt /> StackBlitz | |
</a> |
tanstack.com/app/routes/$libraryId/$version.docs.framework.$framework.examples.$.tsx
Lines 127 to 136 in baae710
<iframe | |
src={ | |
library.embedEditor === 'codesandbox' | |
? codesandboxUrl | |
: stackBlitzUrl | |
} | |
title={`${library.name} | ${examplePath}`} | |
sandbox="allow-forms allow-modals allow-popups allow-presentation allow-same-origin allow-scripts" | |
className="flex-1 w-full overflow-hidden lg:rounded-lg shadow-xl shadow-gray-700/20 bg-white dark:bg-black" | |
/> |
Metadata
Metadata
Assignees
Labels
No labels