Skip to content

Commit 839d582

Browse files
committed
doc: add emptyWhileLoading prop doc
1 parent 2c7377c commit 839d582

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/EditInDialogButton.md

+1
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ const CompanyShow = () => (
8484
| `resource` | Optional | `string` | | The resource name, e.g. `posts` |
8585
| `sx` | Optional | `object` | | Override the styles applied to the dialog component |
8686
| `title` | Optional | `ReactNode` | | The title of the dialog |
87+
| `emptyWhileLoading`| Optional | `boolean` | `false` | Set to `true` to return `null` while the list is loading |
8788

8889
## `children`
8990

docs/ShowInDialogButton.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ This component accepts the following props:
9494
|----------------|----------|----------------|----------|---------------------------|
9595
| `ButtonProps` | Optional | `object` | | Props to pass to the MUI `<Button>` component |
9696
| `children` | Required | `ReactNode` | | The content of the dialog |
97-
| `empty WhileLoading` | Optional | `boolean` | | Set to `true` to return `null` while the list is loading |
97+
| `emptyWhileLoading` | Optional | `boolean` | | Set to `true` to return `null` while the list is loading |
9898
| `fullWidth` | Optional | `boolean` | `false` | Set to `true` to make the dialog full width |
9999
| `icon` | Optional | `ReactElement` | | The icon of the button |
100100
| `id` | Optional | `string | number` | | The record id. If not provided, it will be deduced from the record context |

0 commit comments

Comments
 (0)