import React from 'react' import PropTypes from 'prop-types' import styles from './NewAezeedPassword.scss' class NewAezeedPassword extends React.Component { constructor(props) { super(props) this.state = { confirmPassword: '' } } render() { const { aezeedPassword, updateAezeedPassword } = this.props const { confirmPassword } = this.state return (
updateAezeedPassword(event.target.value)} />
this.setState({ confirmPassword: event.target.value })} />
) } } NewAezeedPassword.propTypes = { aezeedPassword: PropTypes.string.isRequired, updateAezeedPassword: PropTypes.func.isRequired } export default NewAezeedPassword