const greet = (name: string) => `Hello, ${name}!`;Code line with a solid prefix, italic muted ghost text, and a blinking caret.
The import and the props worth knowing about, in one place.
import { Editor8 } from "@/components/beste/piece/editor8";
<Editor8
prefix="const greet = (name: string) => `Hello, "
ghost="${name}!`;"
bordered={false}
/>