cyntler / hamburger-react

Animated hamburger menu icons for React.js weighs only 1.5 KB.
https://hamburger-react.netlify.app
MIT License
963 stars 36 forks source link

Prop for disabling padding #63

Open Alexnortung opened 1 year ago

Alexnortung commented 1 year ago

I think it's good that the hamburger defaults to 48x48 pixels, however I would like to be able to add the padding myself or create my own clickable area around/on top of the react burger. This would make styling a lot easier too.

luukdv commented 1 year ago

Thanks for the suggestion! I'll consider it for v3.0. For now, you can wrap a div around the burger and apply some negative margin styles to that element.

luukdv commented 1 year ago

Update about v3.0: Looking for new owner