Skip to content

Commit 8179efd

Browse files
committed
create showDialog doc + fix some typo
1 parent c3d60d4 commit 8179efd

File tree

4 files changed

+462
-3
lines changed

4 files changed

+462
-3
lines changed

docs/CreateDialog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ In the related `<Resource>`, you don't need to declare a `create` component as t
7777
| `children` | Required | `ReactNode` | | The content of the dialog |
7878
| `fullWidth` | Optional | `boolean` | `false` | If `true`, the dialog stretches to the full width of the screen |
7979
| `maxWidth` | Optional | `string` | `sm` | The max width of the dialog |
80-
| `mutation Options` | Optional | `object` | | The options to pass to the `useMutation` hook |
80+
| `mutationOptions` | Optional | `object` | | The options to pass to the `useMutation` hook |
8181
| `resource` | Optional | `string` | | The resource name, e.g. `posts` |
8282
| `sx` | Optional | `object` | | Override the styles applied to the dialog component |
8383
| `title` | Optional | `ReactNode` | | The title of the dialog |

docs/EditDialog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ In the related `<Resource>`, you don't need to declare an `edit` component as th
7373
| `fullWidth` | Optional | `boolean` | `false` | If `true`, the dialog stretches to the full width of the screen |
7474
| `id` | Optional | `string | number` | | The record id. If not provided, it will be deduced from the record context |
7575
| `maxWidth` | Optional | `string` | `sm` | The max width of the dialog |
76-
| `mutation Options` | Optional | `object` | | The options to pass to the `useMutation` hook |
76+
| `mutationOptions` | Optional | `object` | | The options to pass to the `useMutation` hook |
7777
| `queryOptions` | Optional | `object` | | The options to pass to the `useQuery` hook |
7878
| `resource` | Optional | `string` | | The resource name, e.g. `posts` |
7979
| `sx` | Optional | `object` | | Override the styles applied to the dialog component |

docs/EditInDialogButton.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ const CompanyShow = () => (
7979
| `inline` | Optional | `boolean` | | Set to true to display only a Material UI `<IconButton>` instead of the full `<Button>` |
8080
| `label` | Optional | `string` | | Allows to override the default button label. I18N is supported |
8181
| `maxWidth` | Optional | `string` | `sm` | The max width of the dialog |
82-
| `mutation Options` | Optional | `object` | | The options to pass to the `useMutation` hook |
82+
| `mutationOptions` | Optional | `object` | | The options to pass to the `useMutation` hook |
8383
| `queryOptions` | Optional | `object` | | The options to pass to the `useQuery` hook   |
8484
| `resource` | Optional | `string` | | The resource name, e.g. `posts` |
8585
| `sx` | Optional | `object` | | Override the styles applied to the dialog component |

0 commit comments

Comments
 (0)