This package has been deprecated

Author message:

This package has been deprecated. Please find this package under its new name @cloudflare/component-copyable-textarea.

cf-component-copyable-textarea

5.0.0 • Public • Published

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';
 
class CopyableTextareaComponent extends React.Component {
  render() {
    return (
      <CopyableTextarea
        name="copyable-textarea-example"
        value="Some nice text that needs to be copied"
        clickToCopyText="Click to copy"
        copiedTextToClipboardText="Copied text to clipboard"
        pressCommandOrCtrlCToCopyText="Press Command/Ctrl+C to copy"
      />
    );
  }
}
 
export default CopyableTextareaComponent;
 

Readme

Keywords

none

Package Sidebar

Install

npm i cf-component-copyable-textarea

Weekly Downloads

7

Version

5.0.0

License

BSD-3-Clause

Unpacked Size

19.9 kB

Total Files

9

Last publish

Collaborators

  • lerwincf
  • lbarthonet
  • cf-media-manager
  • jacobbednarz
  • celso
  • cf-radar
  • dash_service_account
  • g4brym
  • snigdha34
  • wrangler-publisher
  • marksteyn
  • chiminator
  • sgoodhew_cf
  • terinjokes
  • third774
  • jsteinberger
  • jasnell
  • asapzacy
  • pcostanzo
  • gregbrimble
  • geelen
  • rexscaria
  • dcruz_cf
  • xuranwang
  • jculvey
  • sejoker
  • vasturiano
  • cf-ci-write
  • segments-write
  • thibmeu
  • xortive
  • gurjinder
  • cf-ci2
  • lvalenta
  • worenga