Closed ajshres closed 3 years ago
@ddvkid @ttma1046 any insights for this?
@ajshres
Sorry for the late reply.
The benefit of wrap the lib into ReactHover
is that it won't have conflicts with other libraries in the project.
I am not really sure what other impacts it will bring if we export them separately.
What's the reason that type definition failed here? could you supply any insights so that we can tackle this together?
cheers.
Still not compatible with TS?
https://github.com/cht8687/react-hover/blob/master/src/index.js#L2
Released in 2.0.0
I like your extension library but as per my research, type definition can not be created for your library. Could you please separate Trigger and Hover from ReactHover definition and export as separate entity?
could you please export as
export { Trigger, Hover };
instead of Change Thisor any other viable solution