diff --git a/docs/List.md b/docs/List.md index 88304817d9e..40f4e28ca94 100644 --- a/docs/List.md +++ b/docs/List.md @@ -364,7 +364,7 @@ export default ResetViewsButton; **Tip**: `` text props such as `title` and `content` are translatable. You can pass use translation keys in these props. -**Tip**: You can customize the text and icon of the two `` component buttons using the `cancel` and `confirm` prop which accepts translation keys too and the `ConfirmIcon` and `CancelIcon` prop which accepts a SvgIcon type. +**Tip**: You can customize the text of the two `` component buttons using the `cancel` and `confirm` props which accept translation keys. You can customize the icons by setting the `ConfirmIcon` and `CancelIcon` props, which accept a SvgIcon type. **Tip**: React-admin doesn't use the `` component internally, because deletes and updates are applied locally immediately, then dispatched to the server after a few seconds, unless the user chooses to undo the modification. That's what we call optimistic rendering. You can do the same for the `ResetViewsButton` by setting `undoable: true` in the last argument of `useUpdateMany()`, as follows: