react-toggle-button icon indicating copy to clipboard operation
react-toggle-button copied to clipboard

How to use inside a loop

Open imar26 opened this issue 7 years ago • 0 comments

Hi,

I have an array and I want this toggle button for each element inside the array. How can I make it specific to each element? Currently, on one click, it makes changes to all the toggle buttons I have on the page. I want to make it specific. Any help is appreciated. Thanks!

imar26 avatar Apr 15 '18 23:04 imar26