import React, {Component} from 'react'; import PropTypes from 'prop-types'; export default class GenerateWalletPasswordInputComponent extends Component { constructor(props) { super(props) } static propTypes = { generateWalletShowPassword: PropTypes.func, showPassword: PropTypes.bool, input: PropTypes.object, meta: PropTypes.object }; render() { return (
this.props.generateWalletShowPassword()} aria-label="make password visible" role="button" className="input-group-addon eye"/>
) } }