Hello I have an array and I want to copy text in p element ({item.adress}=> it is an array item) when i click the button. Can u help me?
import classes from './CryptoBox.module.css'
 const CryptoBox = (props) => {
  let item = props.item     
    
    return(
         <div className={classes.box}>
             {item.map(item => (
                <div className={classes.boxx} key={Math.random().toString(36).slice(2)}>
                    <img src={item.img} alt={item.id}/><br/>
                    <p id={item.adress} hidden>{item.adress}</p>
                    <span>
                        <button onClick={}> 
                            {props.link}
                        </button>
                    </span>
                </div> 
             ))}
         </div>
     )
 }
 export default CryptoBox;
 
     
     
    