import React from 'react' import PropTypes from 'prop-types' import styles from './NewWalletPassword.scss' const NewWalletPassword = ({ createWalletPassword, createWalletPasswordConfirmation, showCreateWalletPasswordConfirmationError, updateCreateWalletPassword, updateCreateWalletPasswordConfirmation }) => (
updateCreateWalletPassword(event.target.value)} />
updateCreateWalletPasswordConfirmation(event.target.value)} />

Passwords do not match

) NewWalletPassword.propTypes = { createWalletPassword: PropTypes.string.isRequired, createWalletPasswordConfirmation: PropTypes.string.isRequired, showCreateWalletPasswordConfirmationError: PropTypes.bool.isRequired, updateCreateWalletPassword: PropTypes.func.isRequired, updateCreateWalletPasswordConfirmation: PropTypes.func.isRequired } export default NewWalletPassword