Update formatting
This commit is contained in:
@ -26,7 +26,12 @@ class LimitedTextarea extends React.Component {
|
|||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<textarea rows={this.props.rows} cols={this.props.cols} onChange={this.handleChange} value={this.state.content}>
|
<textarea
|
||||||
|
rows={this.props.rows}
|
||||||
|
cols={this.props.cols}
|
||||||
|
onChange={this.handleChange}
|
||||||
|
value={this.state.content}
|
||||||
|
>
|
||||||
</textarea>
|
</textarea>
|
||||||
<p>{this.state.characterCount}/{this.props.limit}</p>
|
<p>{this.state.characterCount}/{this.props.limit}</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user