import React, { Component } from 'react' import PropTypes from 'prop-types' import CurrencyIcon from 'components/CurrencyIcon' import styles from './StepThree.scss' class StepThree extends Component { render() { const { push_amt, setPushAmount } = this.props return (

Push Amount

The push amount is the amount of bitcoin (if any at all) you'd like to "push" to the other side of the channel when it opens. This amount will be set on the remote side of the channel as part of the initial commitment state.

(this.input = input)} size='' value={push_amt} onChange={event => setPushAmount(event.target.value)} id='amount' style={{ width: isNaN((push_amt.length + 1) * 55) ? 140 : (push_amt.length + 1) * 55 }} />
) } } StepThree.propTypes = { push_amt: PropTypes.oneOfType([ PropTypes.number, PropTypes.string ]).isRequired, setPushAmount: PropTypes.func.isRequired } export default StepThree