Module

AppBar

Members

object

# inner constant theTheme

The default theme for the app bar

View Source stories/AppBar.jsx, line 20

Methods

# inner AppBar(props)

This component is used to render the application's app bar. It is important to note if you are using the PermissionFilter component, you must have this component as a child of the useAuthProvider.
Parameters:
Name Type Attributes Description
props object
user object <optional>
The user object from the authState
onLogout function <optional>
A logout function to call when the user clicks the logout button
onLogin function <optional>
The login function to call when the user clicks the login button
navLinks array <optional>
An array of objects to render as nav links
navLinks[].title string <optional>
The label for the nav link
navLinks[].href string <optional>
The path for the nav link
logoUrl string <optional>
The url for the logo
buttonVariant string <optional>
The MUI variant name for the buttons creating by navLinks
logoText string <optional>
The text to place next to the logo on the app bar
renderLogo function <optional>
A function to overwrite the default renderer for the logo section - Optional

View Source stories/AppBar.jsx, line 40