apeman-react-recover
v5.0.3
Published
apeman react package for recover procedure components.
Downloads
87
Maintainers
Readme
apeman-react-recover
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.