ic-ui-kit
ic-ui-kit copied to clipboard
[ic-side-navigation] `expanded` prop in conjunction with React Router
Summary of the bug
expanded prop should control ic-side-navigation in full and collapsed versions.
🪜 How to reproduce
Tell us the steps to reproduce the problem: See this StackBlitz
🧐 Expected behaviour
When a navigation-item is clicked the expanded menu should collapse. Consider changing the way the expanded prop is used or use an event to collapse the menu.