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.
The import and the props worth knowing about, in one place.
import { Editor40 } from "@/components/beste/piece/editor40";
<Editor40
line="const value = user.prfile.name;"
actions={[
{
"label": "Rename to 'profile'",
"preferred": true
},
{
"label": "Add missing property 'prfile'"
},
{
"label": "Disable rule for this line"
}
]}
bordered={false}
/>