You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Tip**: When `undoable={false}` prop is passed to `BulkUpdateButton`, it uses `react-admin``<Confirm>` component leveraging material-ui's `<Dialog>` component to implement a confirmation popup. Feel free to use it in your admins!
348
348
349
-
**Tip**: `<Confirm>` text props such as `title` and `content` are translatable. You can pass translation keys in these props. Note: `content` is only translateable when value is `string`, otherwise it renders the content as a `ReactNode`.
349
+
**Tip**: `<Confirm>` text props such as `title`(`confirmTitle` passed from `BulkUpdateButton`) and `content` (`confirmContent` passed from `BulkUpdateButton`) are translatable. You can pass translation keys in these props. Note: `content` is only translateable when value is `string`, otherwise it renders the content as a `ReactNode`.
350
350
351
351
**Tip**: You can customize the text of the two `<Confirm>` 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.
0 commit comments