Appearance
Function: Sandbox()
ts
function Sandbox(props: Readonly<{
className?: string;
code?: string;
defaultTab?: SandboxTab;
language?: string;
logs?: string;
output?: string;
title?: string;
}> & RefAttributes<HTMLDivElement>): Block;Defined in: packages/sdk/src/renderer/blocks/index.ts:2843
Experimental
Sandbox — tabbed display of a code execution result (code / output / logs).
Parameters
| Parameter | Type |
|---|---|
props | Readonly<{ className?: string; code?: string; defaultTab?: SandboxTab; language?: string; logs?: string; output?: string; title?: string; }> & RefAttributes<HTMLDivElement> |