Run button
#871
Replies: 1 comment
-
I believe you need a new prop, which I just introduced: import { Sandpack } from "@codesandbox/sandpack-react";
export default function App() {
return (
<Sandpack
template="react"
options={{
autorun: false, // whether or not the bundling process should start automatically
autoReload: false // whether the component should automatically reload when changes are made to the code.
}}
/>
);
} |
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
-
Hi, I am trying to run code only by run button.
If i put
options={ autorun: false }
run button appears in first time.But if i fire once it just disappears and works same as the autorun: true.
Can i make run button to exist permanently?
Beta Was this translation helpful? Give feedback.
All reactions