Removed routes in Menu in favor of React state
Changes' digest:
- All
Menu...
components are rendered by a single componentMenu
- The
Menu
component holds the state of the active tab that is typed in TS by an enumTab
-
MenuSidePanel
does the switch now and was extracted in its own file -
MenuBar
,MenuFooter
were inlined -
MenuItem
was replaced byMenuButton
and extracted in its own file - All
...rest
props were removed as they were not used