Builtin component
Read-only syntax-highlighted code.
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | FieldReference | — | Block label |
value | string | FieldReference | — | Code content |
language | "python" | "sql" | "text" | "text" | Syntax language |
CodeBlock({
label: "Query",
value: "SELECT * FROM orders WHERE total > 100",
language: "sql",
})