Replies: 1 comment
-
Hey, sorry for the late answer. Can you provide a bit more information? Maybe a diagram can help. If I understood correctly, I'd suggest you to use your own code-editor, which you can interact with and pass custom values, and then you can update the file content on Sandpack via |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was wondering if it is possible to inject code dynamically into the Sandpack component.
I would like to use the SandpackPreview and CodeViewer but I would like to control to code entered from my own editor.
My use-case is that while the user types the input in my editor control the Sandpack component is updated dynamically.
Is this possible to achieve?
Beta Was this translation helpful? Give feedback.
All reactions