Skip to content

MUmer01/password_textarea

Repository files navigation

password_textarea

This package is for creating multiline password field (Password Textarea).

NPM JavaScript Style Guide

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.
      />
    )
  }
}

License

MIT © https://github.com/MUmer01

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published