Support onClick
deslee opened this issue · comments
Desmond Lee commented
This is just a nice to have, but it would be great if we can passthough an onClick
callback (and perhaps other common react props) to the inner
node.
Kabir Sarin commented
Can't you just add a wrapper div? The event will bubble up to it.
I have considered spreading all "other" props onto the top-level element, but haven't come up with any legitimate use cases that deem it necessary. Open to discussion though!