export const copyToClipboard = (text) => {
    const textArea = document.createElement('textarea');
    document.body.appendChild(textArea);
    textArea.value = text;
    textArea.select();
    const successful = document.execCommand('copy');
    document.body.removeChild(textArea);
    return successful;
};
//# sourceMappingURL=copyToClipboard.js.map