Type Alias: NavbarProps
NavbarProps:
object
Properties for the Navbar component.
Type declaration
Name | Type | Description |
---|---|---|
avatar | string | Source of the user profile picture. |
drawerToggle | () => void | Handler for click events on the Menu button. |
headerMenuOptions | HeaderAccountProps ["menuOptions" ] | List of menu actions. |
notificationsNumber | number | Indicator for notifications counter. |
notificationsOnClick | () => void | Handler for click events on the notifications indicator. |
showNotifications | boolean | Flag for showing or hiding the notifications indicator. |
subText | string | String rendered below the text content. |
sx | SxProps <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) |
text | string | String 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)