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 DeleteIcon from '@mui/icons-material/Delete';
3import IconButton from '@mui/material/IconButton';
4import Tooltip from '@mui/material/Tooltip';
5
6export default function BasicTooltip() {
7 return (
…lines 8–15 unchanged (8 lines)

After

1import DeleteIcon from '@mui/icons-material/Delete';
2import IconButton from '@mui/material/IconButton';
3import Tooltip from '@mui/material/Tooltip';
4
5export default function BasicTooltip() {
6 return (
7 <Tooltip title="Delete">
…lines 8–14 unchanged (7 lines)

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 "DeleteIcon"
from "from"
string
' "'"
string_fragment "@mui/icons-material/Delete"
' "'"
; ";"
import_statement
import "import"
import_clause
identifier "IconButton"
from "from"
string
' "'"
string_fragment "@mui/material/IconButton"
' "'"
; ";"
import_statement
import "import"
import_clause
identifier "Tooltip"
from "from"
string
' "'"
string_fragment "@mui/material/Tooltip"
' "'"
; ";"
export_statement (+47 nodes collapsed)

After

program
import_statement
import "import"
import_clause
identifier "DeleteIcon"
from "from"
string
' "'"
string_fragment "@mui/icons-material/Delete"
' "'"
; ";"
import_statement
import "import"
import_clause
identifier "IconButton"
from "from"
string
' "'"
string_fragment "@mui/material/IconButton"
' "'"
; ";"
import_statement
import "import"
import_clause
identifier "Tooltip"
from "from"
string
' "'"
string_fragment "@mui/material/Tooltip"
' "'"
; ";"
export_statement (+47 nodes collapsed)