react-hover-observer icon indicating copy to clipboard operation
react-hover-observer copied to clipboard

add support for configurable wrapper

Open erwinsmit opened this issue 3 years ago • 1 comments

Hi,

Love this library, I've been using it across a couple of projects.

One thing that would make it a bit more flexible is to add a configurable wrapper element. This allows this library to be used in navigations for example (so a "<\li>" is used instead of a "<\div>").

Please let me know if you think this is a good addition. If so, I'm happy to have a look at the tests which are currently failing because of this change.

erwinsmit avatar Mar 02 '22 11:03 erwinsmit

@ethanselzer Is this project still maintained?

erwinsmit avatar Mar 17 '22 13:03 erwinsmit