Skip to content

Commit d12280a

Browse files
authored
Merge pull request #9140 from smeng9/fix-confirm-doc
[Doc] Fix confirm and cancel icon type
2 parents f568a52 + fd0d5c5 commit d12280a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Confirm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ const BulkResetViewsButton = () => {
6969
| `cancel` | Optional | `string` | 'ra.action. cancel' | Label of the cancel button |
7070
| `confirm` | Optional | `string` | 'ra.action. confirm' | Label of the confirm button |
7171
| `confirmColor` | Optional | `string` | 'primary' | Color of the confirm button |
72-
| `ConfirmIcon` | Optional | `ReactElement` | `<Check Circle/>` | Icon element of the confirm button |
73-
| `CancelIcon` | Optional | `ReactElement` | `<Error OutlineIcon/>` | Icon element of the cancel button |
72+
| `ConfirmIcon` | Optional | `Component` | `CheckCircleIcon` | Icon component of the confirm button |
73+
| `CancelIcon` | Optional | `Component` | `ErrorOutlineIcon` | Icon component of the cancel button |
7474
| `translate Options` | Optional | `{ id?: string, name?: string }` | {} | Custom id and name to be used in the dialog title |
7575
| `sx` | Optional | `SxProps` | '' | Material UI shortcut for defining custom styles with access to the theme |
7676

0 commit comments

Comments
 (0)