Does it also work when used with MenuItem?
Closed this issue · 4 comments
SwederSchellens commented
Hi,
Thanks for providing this great component.
I have it working when used with Button. But I would like to also use it with MaterialUI MenuItem but so far I did't get it to work. Is it supposed to work with MenuItem?
Cheers.
dominikbulaj commented
@SwederSchellens you mean MaterialUI MenuItem?
SwederSchellens commented
Yes. Sorry for not being clear about that.
dominikbulaj commented
Yeah, it's not possible at the moment. I'm gonna expose onClick
property that will help resolve this and similar issues.
dominikbulaj commented
@SwederSchellens I've added onClick
callback in v1.7.0
Please see this example https://codesandbox.io/s/loving-cookies-6no9o