-
-
Notifications
You must be signed in to change notification settings - Fork 278
Open
Labels
feature request/enhancementNew feature or requestNew feature or request
Description
Given the following sandpackConfig
const sandpackConfig = {
defaultPreset: "default",
presets: [
{
name: "default",
meta: "live",
label: "TypeScript",
sandpackTemplate: "vanilla-ts",
sandpackTheme: "light",
snippetFileName: "/index.ts",
snippetLanguage: "ts",
initialSnippetContent: [
'import "./styles.css";',
'document.getElementById("app").innerHTML = `<h1>Hello world</h1>`;',
].join("\n"),
},
],
panes: {
console: true,
preview: false,
},
};I guess the need for the solution where we pass down the Sandpack Panels as components instead of just flags is surfacing, as this setting is something we'd have to change on the SandpackCodeEditor by adding showRunButton prop.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature request/enhancementNew feature or requestNew feature or request