Skip to content

Commit b977f4f

Browse files
sai6855siriwatknp
andauthored
[docs] Add ListItemButton to make the deprecation clear (#46357)
Co-authored-by: Siriwat K <siriwatkunaporn@gmail.com>
1 parent 9179a92 commit b977f4f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/data/material/migration/migrating-from-deprecated-apis/migrating-from-deprecated-apis.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1519,7 +1519,9 @@ The ListItemSecondaryAction component was deprecated in favor of the `secondaryA
15191519
+ }
15201520
disablePadding
15211521
>
1522-
<ListItemText primary="John Doe" />
1522+
<ListItemButton>
1523+
<ListItemText primary="John Doe" />
1524+
</ListItemButton>
15231525
- <ListItemSecondaryAction>
15241526
- <IconButton aria-label="Leave a comment">
15251527
- <CommentIcon />

0 commit comments

Comments
 (0)