The top topNavBarItems we're made to be flexible with any ReactNode while the bottomNavBarItems explicitly define a label, icon, and onClick for each item. I wanted to get some insight from others on whether this is a suitable way of handling this based on the designs.
BREAKING CHANGE: new navBar props and classnames
Changes
NavBar
component to match designThe top
topNavBarItems
we're made to be flexible with anyReactNode
while thebottomNavBarItems
explicitly define a label, icon, and onClick for each item. I wanted to get some insight from others on whether this is a suitable way of handling this based on the designs.Screenshots
Design
Desktop
Mobile
Before
Desktop
Mobile
After
Desktop
Mobile
Dark mode