password_textarea
v1.1.0
Published
This package is for creating multiline password filed (Password Textarea).
Downloads
5
Readme
password_textarea
This package is for creating multiline password field (Password Textarea).
Install
npm install --save password_textarea
Usage
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.
/>
)
}
}