codesandbox
Version:
The CLI used for communicating with CodeSandbox
22 lines (21 loc) • 631 B
TypeScript
export interface IOptions {
examplePath?: string;
openedModule?: string;
fontSize?: number;
highlightedLines?: number[];
editorSize?: number;
view?: "editor" | "preview";
hideNavigation?: boolean;
currentModuleView?: boolean;
autoResize?: boolean;
useCodeMirror?: boolean;
enableEslint?: boolean;
forceRefresh?: boolean;
expandDevTools?: boolean;
initialPath?: string;
gitRepo?: string;
gitUsername?: string;
gitBranch?: string;
}
export declare function getSandboxUrl(options?: IOptions): string;
export declare function getEmbedUrl(options?: IOptions): string;