Code line with a rose wavy underline on the offending token above an alert card with message and source code.
Requires shadcn/ui initialized. Run npx shadcn@latest init if you haven't.
import { Editor14 } from "@/components/beste/piece/editor14";
<Editor14
prefix="const total = items."
problem="reduce"
suffix="(sum, i) => sum + i.price);"
message="Expected 2 arguments, but got 1."
source="ts(2554)"
/>