Skip to content

Commit

Permalink
Merge pull request #9629 from marmelab/doc/SolarMenu-update
Browse files Browse the repository at this point in the history
[Doc] Update SolarMenu doc
  • Loading branch information
fzaninotto authored Jan 31, 2024
2 parents 5721603 + cf1f369 commit 7ba5350
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/SolarLayout.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ You don't need to define the app location for CRUD pages as react-admin does it
- Edit: `[resource].edit`. The location also contains the current `record`
- Show: `[resource].show`. The location also contains the current `record`

However, you can customize these default app locations in your CRUD pages, and you must define the location for custom pages.
However, you can customize these default app locations in your CRUD pages, and you must define the location for custom pages.

## Props

Expand Down Expand Up @@ -359,6 +359,8 @@ By default, just like the classic react-admin menu, it contains menu items for e
| `userMenu` | Optional | Component | | Allows to customize the user menu |
| `sx` | Optional | `SxProps` | | Style overrides, powered by MUI System |

It also accept the props of its root `HTMLDivElement`.

In addition, the `SolarMenu` object provides shortcuts to its items components:

- [`SolarMenu.Item`](#solarmenuitem), the base item
Expand Down

0 comments on commit 7ba5350

Please sign in to comment.