Skip to content

Commit

Permalink
Update SolarMenu doc
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanMarmelab committed Jan 31, 2024
1 parent 5721603 commit cf1f369
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 cf1f369

Please sign in to comment.