Skip to content

React textarea: easy, transparent textarea component for ReactJS (autoheight, adjustable, responsive text input element) access to textarea attributes and textarea style

License

Notifications You must be signed in to change notification settings

sm-react/react-smart-textarea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub version @airbnb @UsulPro @sm-react sm-artlight.slack.com

react-smart-textarea

React textarea: easy, transparent textarea component for ReactJS (autoheight, adjustable, responsive text input element) access to textarea attributes and textarea style

Live demo

Live demo

Usage

import SmTextarea from 'SmartTextarea.jsx';

simple

<SmTextarea onChange={(e) => console.log(e)} />

set hint text

<SmTextarea onChange={(e) => console.log(e)} hintText="enter text here" />

some style

<SmTextarea style={{border: "solid 1px rgb(169, 169, 169)", padding: {4}, paddingLeft: {8},}} styleMouseOver={{}} styleFocus={{outlineColor: "rgb(77, 144, 254)", outlineOffset: {-2}, outlineStyle: "auto", }} hintText="chrome style" />

Codeship Status for sm-react/react-smart-textarea

About

React textarea: easy, transparent textarea component for ReactJS (autoheight, adjustable, responsive text input element) access to textarea attributes and textarea style

Resources

License

Stars

Watchers

Forks

Packages

No packages published