const users = load();for (const user of users) {12×render(user);}
Gutter with rose breakpoint dots, an amber-highlighted current line, and a hit-count chip.
The import and the props worth knowing about, in one place.
import { Editor41 } from "@/components/beste/piece/editor41";
<Editor41
lines={[
{
"line": 40,
"code": "const users = load();"
},
{
"line": 41,
"code": "for (const user of users) {",
"breakpoint": true,
"hits": 12
},
{
"line": 42,
"code": " render(user);",
"current": true
},
{
"line": 43,
"code": "}"
}
]}
/>import { greet } from './greet';const user = { name: 'Ayşe' };const msg = greet(user.name);console.log(msg);
Code lines with colored gutter stripes showing added (emerald), modified (sky), and removed (rose) lines.
const value = user.prfile.name;Code line with a lightbulb quick-fix tile and a dropdown of fix options. Preferred fix gets an amber tag.
Code line with a teammate's blinking caret tinted by tone and a name tag floating above it.
Text with a primary-tinted highlight and a floating dark pill showing character and word counts.