Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 522 Bytes

FirebaseResetPassword.md

File metadata and controls

29 lines (24 loc) · 522 Bytes

FirebaseResetPassword

HOC for Firebase password reset

Options

validator (input) => Boolean

Optional. Custom validator function.

import { FirebaseResetPassword } from 'refire-app'
class ResetPasswordComponent extends Component {
  render() {
    const {
      email,
      submit,
      updateEmail,
      validInput,
      error,
      processing,
      completed
    } = this.props
  }
}
export default FirebaseResetPassword({
  validator: optionalCustomValidatorFn
})(ResetPasswordComponent)