Skip to content

Commit 634fd16

Browse files
author
asvarcas
committed
Improve explanation of orphan tips
1 parent 348e674 commit 634fd16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/List.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ export default ResetViewsButton;
346346

347347
**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!
348348

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`.
350350

351351
**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.
352352

0 commit comments

Comments
 (0)