Skip to content

Commit

Permalink
[docs] Improve callout copy for layout override props (#4535)
Browse files Browse the repository at this point in the history
  • Loading branch information
apedroferreira authored Dec 12, 2024
1 parent 46a3e8c commit 35c7042
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ This can be done via the `branding` prop in the [AppProvider](https://mui.com/to
{{"demo": "DashboardLayoutBranding.js", "height": 400, "iframe": true}}

:::info
Optionally, a specific `branding` can also be passed as a prop to the `DashboardLayout` component itself, which properties take precedence over any properties of the `branding` prop passed to the `AppProvider`.
Optionally, you can also pass a specific `branding` object as a prop to the `DashboardLayout` component itself.
When applied this way, the properties of this object take precedence over the properties of the `branding` prop passed to the `AppProvider`.

You may also override the default branding by passing in your own component to the `appTitle` slot, as shown in the [Slots section](#slots).
:::
Expand All @@ -49,7 +50,8 @@ The `navigation` prop in the [AppProvider](https://mui.com/toolpad/core/react-ap
The flexibility in composing and ordering these different elements allows for a great variety of navigation structures to fit your use case.

:::info
Optionally, a specific `navigation` can also be passed as a prop to the `DashboardLayout` component itself, which takes complete precedence over any `navigation` prop passed to the `AppProvider`.
Optionally, you can also pass a specific `navigation` as a prop to the `DashboardLayout` component itself.
When applied this way, this `navigation` takes complete precedence over the `navigation` prop passed to the `AppProvider`.
:::

### Navigation links
Expand Down

0 comments on commit 35c7042

Please sign in to comment.