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] Update SolarMenu doc #9629

Merged
merged 1 commit into from
Jan 31, 2024
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: 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
Loading