cf-component-copyable-textarea
Cloudflare Copyable Textarea Component
Installation
Installation with yarn is recommended
$ yarn add cf-component-copyable-textarea
Usage
import React from 'react';import CopyableTextarea from 'cf-component-copyable-textarea'; Component { return <CopyableTextarea ="copyable-textarea-example" ="Some nice text that needs to be copied" ="Click to copy" ="Copied text to clipboard" ="Press Command/Ctrl+C to copy" /> ; } ;