apeman-react-password

apeman react package for password component.


Keywords
React, apeman, password, form
License
MIT
Install
npm install apeman-react-password@3.0.3

Documentation

apeman-react-password

Build Status Code Climate Code Coverage npm Version JS Standard

apeman react package for password component.

Installation

$ npm install apeman-react-password --save

Demo

Live demo is hosted on GitHub Pages.

Demo Image

Usage

'use strict'

import React from 'react'
import {ApPassword, ApPasswordStyle} from 'apeman-react-password'

const ExampleComponent = React.createClass({
  render () {
    return (
      <div>
        <ApPasswordStyle />
        <ApPassword name="password" onChange={ (e) => { console.log(e.target.value) } }/>
      </div>
    )
  }
})

Components

ApPasswordStyle

Props

Name Type Default Description
style object {}
highlightColor string ApStyle.DEFAULT_HIGHLIGHT_COLOR
maxWidth number ApStyle.CONTENT_WIDTH

ApPassword

Props

Name Type Default Description
name string ''
value string ''
placeholder string ''
showIcon string 'ion ion-eye'
hideIcon string 'ion ion-eye-disabled'

License

This software is released under the MIT License.

Links