Closed Senninseyi closed 3 years ago
Hi! There are various props for styling which you can all find on https://hamburger-react.netlify.app, can you clarify what you mean?
Okay lemme show an image
Lets say on mobile version i have this
I want to kind of override the current css that's present in the hamburger
Ah okay, currently that's only possible through CSS by targeting .hamburger-react
. Can you indicate which styles you want to overwrite? That way I know which props still might be missing from a user's perspective.
By the way, I'm considering adding style
and className
props for version 3.0
.
Okay thanks a bunch... nice once tho,
By the way, if you could let me know which styles needed overwriting, that would help me determine which props still might be missing. Thanks in advance!
Hi @luukdv, thank you for your work on this package. I got to this issue looking for some way to add responsive styles. The basic (but not the only thing) is to be able to add a size that is different between resolutions.
I think it would be great if you could add classNames
so that we have more control over the hamburger. Thanks
Thanks for the clarification @rodrigo-arias 🙂 I'll make sure to add a className
prop to version 3.0
.
I would suggest z-index, look what I achieved by adding a z-index
on .hamburger-react
selector
@luukdv what happened to the className prop? :) or is this project abandoned?
@riccardolardi As of https://github.com/cyntler/hamburger-react/issues/64, the project is revived. 🙂 Not sure how the v3 branch is coming along, that's up to cyntler now.
I am not sure if its for all but most of the components doesn't have properties for styling
<Sling onToggle={props.clicked} color="white" size={18} hideOutline={true}/>
is there a way to fix this cos i have read the documentations