react-click-n-hold icon indicating copy to clipboard operation
react-click-n-hold copied to clipboard

ClickNHold Button With State

Open irfancnk opened this issue 6 years ago • 0 comments

I have a powerOn powerOff button that uses this library. If the button state is OFF, when I press to turn on it goes from gray to green color with animation. But since the button takes cnh_holding class on press, I could not achive green to gray animation while pressing ON state button so switch OFF. What is the solution for such a case.

irfancnk avatar Nov 23 '18 14:11 irfancnk