Skip to content

SandpackPreset

reference
1 min readUpdated

Kind: Interface

Source: atloria-monorepo/packages/editor/src/plugins/sandpack/index.tsx

Defines a single preset that can be used to create a Sandpack sandbox.

Properties

PropertyType
namestring
label`string
metastring
sandpackTemplateSandpackProviderProps['template']
sandpackThemeSandpackProviderProps['theme']
snippetFileNamestring
dependenciesRecord<string, string>
filesRecord<string, string>
snippetLanguagestring
initialSnippetContentstring

Was this page helpful?

Download as PDF