Socket
Socket
Sign inDemoInstall

rc-textarea

Package Overview
Dependencies
13
Maintainers
4
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    rc-textarea

Pretty Textarea react component used in used in ant.design


Version published
Weekly downloads
1.1M
increased by5.33%
Maintainers
4
Install size
839 kB
Created
Weekly downloads
 

Readme

Source

rc-textarea

NPM version dumi npm download build status Codecov bundle size

Pretty Textarea react component used in ant.design.

Live Demo

https://react-component.github.io/textarea/

Install

rc-textarea

Usage

import Textarea from 'rc-textarea';
import { render } from 'react-dom';

render(<Textarea />, mountNode);

API

PropertyTypeDefaultDescription
prefixClsstringrc-textarea
classNamestring''additional class name of textarea
styleReact.CSSProperties-style properties of textarea
autoSizeboolean | object-Height autosize feature, can be set to true|false or an object { minRows: 2, maxRows: 6 }
onPressEnterfunction(e)-The callback function that is triggered when Enter key is pressed
onResizefunction({ width, height })-The callback function that is triggered when resize

Development

npm install
npm start

License

rc-textarea is released under the MIT license.

Keywords

FAQs

Last updated on 18 Dec 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc