This package is for creating multiline password field (Password Textarea).
npm install --save password_textarea
import React, { Component } from 'react'
import PasswordArea from 'password_textarea'
class Example extends Component {
state = {
value: 'test',
}
render() {
return (
<PasswordArea
id={"passwordTextarea"} //Optional
value={this.state.value} //Optional
onChange={(v) => { this.setState({ value: v }) }} //Required -> onChange function which return new value.
/>
)
}
}