react-html-attributes icon indicating copy to clipboard operation
react-html-attributes copied to clipboard

onClick

Open lkaratun opened this issue 5 years ago • 1 comments

Hi,

thanks for the great package! It saved me a lot of trouble.

I was wondering if there's a reason why onClick is only considered valid for a tags?

lkaratun avatar Sep 18 '19 19:09 lkaratun

In addition to this. Shouldn't most event attributes be applicable for most tags? onClick, onMouseEnter, onMouseLeave etc... There are many more than this.

Pearce-Ropion avatar Apr 14 '20 00:04 Pearce-Ropion