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

Passwords do not match

Password must be at least 8 characters long

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