apeman-react-password

4.0.2 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 4.0.2
    2
    • latest

Version History

Package Sidebar

Install

npm i apeman-react-password

Weekly Downloads

37

Version

4.0.2

License

MIT

Last publish

Collaborators

  • okunishinishi