import React, {Component} from "react"; import PropTypes from "prop-types"; export default class GenerateWalletPasswordInputComponent extends Component { constructor(props) { super(props) } static propTypes = { showGenerateWalletPasswordAction: PropTypes.func, showPassword: PropTypes.bool, input: PropTypes.object, meta: PropTypes.object }; render() { return (
this.props.showGenerateWalletPasswordAction()} aria-label="make password visible" role="button" className="input-group-addon eye"/>
{/*TODO - if we want descriptive errors we could re-enable this*/} {/*{this.props.meta.touched && this.props.meta.error &&*/} {/*
*/} {/*

{this.props.meta.error}

*/} {/*
*/} {/*}*/}
) } }