Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 372 Bytes

File metadata and controls

13 lines (7 loc) · 372 Bytes

Feature UserDropdown

Description: Shows user dropdown. All redux logic is implemented in this feature.

Public api

  • Components

UserDropdown - Dropdown with user info and logout button. Shows some options only for certain user roles (e.g. ADMIN, MANAGER).

  • Function

UserDropdownAvatarSize - Returns dropdown avatar size based on mobile/desktop viewport