API Reference
Rockets React API
react-material-ui
type-aliases
NavbarProps

Type Alias: NavbarProps

NavbarProps: object

Properties for the Navbar component.

Type declaration

NameTypeDescription
avatarstringSource of the user profile picture.
drawerToggle() => voidHandler for click events on the Menu button.
headerMenuOptionsHeaderAccountProps["menuOptions"]List of menu actions.
notificationsNumbernumberIndicator for notifications counter.
notificationsOnClick() => voidHandler for click events on the notifications indicator.
showNotificationsbooleanFlag for showing or hiding the notifications indicator.
subTextstringString rendered below the text content.
sxSxProps<Theme>Object or array containing custom styles, following the sx pattern. See https://mui.com/system/getting-started/the-sx-prop/ (opens in a new tab)
textstringString that can contain the current user name or username.

Defined in

packages/react-material-ui/src/components/Navbar/Navbar.tsx:13 (opens in a new tab)