Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1import * as React from 'react';
2import AlertTitle from '@mui/material/AlertTitle';
3
4<AlertTitle variant="h4" />;
5

After

1import AlertTitle from '@mui/material/AlertTitle';
2
3<AlertTitle variant="h4" />;
4

Before

program
import_statement
import "import"
import_clause
namespace_import
* "*"
as "as"
identifier "React"
from "from"
string
' "'"
string_fragment "react"
' "'"
; ";"
import_statement
import "import"
import_clause
identifier "AlertTitle"
from "from"
string
' "'"
string_fragment "@mui/material/AlertTitle"
' "'"
; ";"
expression_statement
jsx_self_closing_element
< "<"
identifier "AlertTitle"
jsx_attribute
property_identifier "variant"
= "="
string
" "\""
string_fragment "h4"
" "\""
/> "/>"
; ";"

After

program
import_statement
import "import"
import_clause
identifier "AlertTitle"
from "from"
string
' "'"
string_fragment "@mui/material/AlertTitle"
' "'"
; ";"
expression_statement
jsx_self_closing_element
< "<"
identifier "AlertTitle"
jsx_attribute
property_identifier "variant"
= "="
string
" "\""
string_fragment "h4"
" "\""
/> "/>"
; ";"