Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Doc] Fix confirm and cancel icon type #9140

Merged
merged 1 commit into from
Jul 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/Confirm.md
Original file line number Diff line number Diff line change
@@ -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 |