-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Replace deprecated <ListItemSecondaryAction> component by secondaryAction prop
#11033
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace deprecated <ListItemSecondaryAction> component by secondaryAction prop
#11033
Conversation
smeng9
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove unused import
djhi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
slax57
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise I prefer this version. Thanks for taking my feedback into account!
slax57
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
<ListItemSecondaryAction /><ListItemSecondaryAction> component by secondaryAction prop
MUI deprecates ListItemSecondaryAction component https://mui.com/material-ui/migration/migrating-from-deprecated-apis/ since v6
secondaryAction as a prop is still supported in MUI v5 through v7 https://v5.mui.com/material-ui/api/list-item/#list-item-prop-secondaryAction
Additional Checks
masterfor a bugfix or a documentation fix, ornextfor a feature