‚̧Napolean Paced Mischeviously
    Have ideas to improve npm?Join in the discussion! ¬Ľ

    This package has been deprecated

    Author message:

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

    cf-component-textarea

    6.0.0¬†‚Äʬ†Public¬†‚Äʬ†Published

    cf-component-textarea

    Cloudflare Textarea Component

    Installation

    Installation with yarn is recommended

     
    $ yarn add cf-component-textarea
     

    Usage

    import React from 'react';
    import { Textarea } from 'cf-component-textarea';
     
    class TextareaComponent extends React.Component {
      constructor(props) {
        super(props);
        this.state = {
          textareaValue: ''
        };
      }
     
      handleTextareaChange(e) {
        this.setState({
          textareaValue: e.target.value
        });
      }
     
      render() {
        return (
          <Textarea
            name="example"
            value={this.state.textareaValue}
            onChange={this.handleTextareaChange.bind(this)}
            rows={4}
          />
        );
      }
    }
     
    export default TextareaComponent;
     

    Keywords

    none

    Install

    npm i cf-component-textarea

    DownloadsWeekly Downloads

    157

    Version

    6.0.0

    License

    BSD-3-Clause

    Unpacked Size

    14.5 kB

    Total Files

    9

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar
    • avatar