Skip to content

Commit b911064

Browse files
committed
refactor(material-renderers): remove deprecated prop
1 parent 9a60420 commit b911064

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/material-renderers/src/additional/ListWithDetailMasterItem.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { withJsonFormsMasterListItemProps } from '@jsonforms/react';
2727
import {
2828
Avatar,
2929
IconButton,
30-
ListItem,
30+
ListItemButton,
3131
ListItemAvatar,
3232
ListItemSecondaryAction,
3333
ListItemText,
@@ -48,7 +48,7 @@ export const ListWithDetailMasterItem = ({
4848
disableRemove,
4949
}: StatePropsOfMasterItem) => {
5050
return (
51-
<ListItem button selected={selected} onClick={handleSelect(index)}>
51+
<ListItemButton selected={selected} onClick={handleSelect(index)}>
5252
<ListItemAvatar>
5353
<Avatar aria-label='Index'>{index + 1}</Avatar>
5454
</ListItemAvatar>
@@ -70,7 +70,7 @@ export const ListWithDetailMasterItem = ({
7070
</Tooltip>
7171
</ListItemSecondaryAction>
7272
)}
73-
</ListItem>
73+
</ListItemButton>
7474
);
7575
};
7676

0 commit comments

Comments
 (0)