negomi / react-burger-menu

:hamburger: An off-canvas sidebar component with a collection of effects and styles using CSS transitions and SVG path animations
http://negomi.github.io/react-burger-menu/
MIT License
5.05k stars 586 forks source link

How to make 2 different sidebars in the same page (left and right) using this library #399

Closed simron-smwork closed 4 years ago

simron-smwork commented 4 years ago

Hi, I am new to react. I want to make 2 different sidebars in the same page (left and right) using this library. How do I achieve that? (as there are predefined classes I am not able to make two different sidebars)

negomi commented 4 years ago

Hi @simron-smwork, welcome!

Two instances of the menu should be possible because classes don't have to be unique.

This issue was opened a while ago by someone else doing the same thing, maybe it can help you get started: https://github.com/negomi/react-burger-menu/issues/250