clipboard = (text) => { navigator.clipboard.writeText(text) .then(() => console.log("Текст скопійовано!")) .catch(err => console.error(err)) }