apeman-react-recover

apeman react package for recover procedure components.

Usage no npm install needed!

<script type="module">
  import apemanReactRecover from 'https://cdn.skypack.dev/apeman-react-recover';
</script>

README

apeman-react-recover

Build Status Code Climate Code Coverage npm Version JS Standard

apeman react package for recover procedure components.

Installation

$ npm install apeman-react-recover --save

Demo

Live demo is hosted on GitHub Pages.

Usage

'use strict'

import React from 'react'
import {ApRecover, ApRecoverSendForm, ApRecoverStyle} from 'apeman-react-recover'

const ExampleComponent = React.createClass({
  render () {
    return (
      <div>
        <ApRecoverStyle />
        <ApRecover>
          <ApRecoverSendForm />
        </ApRecover>
      </div>
    )
  }
})


Components

ApRecoverResetForm

Props

Name Type Default Description
labels object {
submit: 'Save'
}
placeholders object {
password: 'New Password'
}

ApRecoverSendForm

Props

Name Type Default Description
labels {
message: null,
submit: 'Send'
}
placeholders {
email: 'Email'
}

ApRecoverStyle

Props

Name Type Default Description
style object {}
highlightColor string ApStyle.DEFAULT_HIGHLIGHT_COLOR
backgroundColor ApStyle.DEFAULT_BACKGROUND_COLOR

License

This software is released under the MIT License.

Links