refactor(striker-ui): rename delete icon in List

main
Tsu-ba-me 2 years ago
parent 21329e7c47
commit d2f2e87593
  1. 4
      striker-ui/components/List.tsx

@ -1,6 +1,6 @@
import { import {
Add as MUIAddIcon, Add as MUIAddIcon,
Delete, Delete as MUIDeleteIcon,
Done as MUIDoneIcon, Done as MUIDoneIcon,
Edit as MUIEditIcon, Edit as MUIEditIcon,
} from '@mui/icons-material'; } from '@mui/icons-material';
@ -93,7 +93,7 @@ const List = forwardRef(
'&:hover': { backgroundColor: `${RED}F0` }, '&:hover': { backgroundColor: `${RED}F0` },
}} }}
> >
<Delete /> <MUIDeleteIcon />
</IconButton> </IconButton>
) : undefined, ) : undefined,
[isAllowDelete, isEdit, onDelete], [isAllowDelete, isEdit, onDelete],

Loading…
Cancel
Save