Skip to content

Commit

Permalink
Merge pull request #9140 from smeng9/fix-confirm-doc
Browse files Browse the repository at this point in the history
[Doc] Fix confirm and cancel icon type
  • Loading branch information
fzaninotto authored Jul 31, 2023
2 parents f568a52 + fd0d5c5 commit d12280a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/Confirm.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ const BulkResetViewsButton = () => {
| `cancel` | Optional | `string` | 'ra.action. cancel' | Label of the cancel button |
| `confirm` | Optional | `string` | 'ra.action. confirm' | Label of the confirm button |
| `confirmColor` | Optional | `string` | 'primary' | Color of the confirm button |
| `ConfirmIcon` | Optional | `ReactElement` | `<Check Circle/>` | Icon element of the confirm button |
| `CancelIcon` | Optional | `ReactElement` | `<Error OutlineIcon/>` | Icon element of the cancel button |
| `ConfirmIcon` | Optional | `Component` | `CheckCircleIcon` | Icon component of the confirm button |
| `CancelIcon` | Optional | `Component` | `ErrorOutlineIcon` | Icon component of the cancel button |
| `translate Options` | Optional | `{ id?: string, name?: string }` | {} | Custom id and name to be used in the dialog title |
| `sx` | Optional | `SxProps` | '' | Material UI shortcut for defining custom styles with access to the theme |

Expand Down

0 comments on commit d12280a

Please sign in to comment.