2018-04-11 16:21:54 +02:00
|
|
|
import React, { Component } from 'react'
|
2018-05-23 18:43:25 +02:00
|
|
|
import PropTypes from 'prop-types'
|
2018-04-26 18:38:38 +02:00
|
|
|
import PageContainerContent from '../../page-container/page-container-content.component'
|
2018-05-15 14:29:23 +02:00
|
|
|
import SendAmountRow from './send-amount-row/'
|
|
|
|
import SendFromRow from './send-from-row/'
|
|
|
|
import SendGasRow from './send-gas-row/'
|
2018-07-16 22:51:02 +02:00
|
|
|
import SendHexDataRow from './send-hex-data-row'
|
2018-05-15 14:29:23 +02:00
|
|
|
import SendToRow from './send-to-row/'
|
2018-04-11 16:21:54 +02:00
|
|
|
|
|
|
|
export default class SendContent extends Component {
|
|
|
|
|
2018-05-23 18:43:25 +02:00
|
|
|
static propTypes = {
|
|
|
|
updateGas: PropTypes.func,
|
|
|
|
};
|
|
|
|
|
2018-04-11 16:21:54 +02:00
|
|
|
render () {
|
|
|
|
return (
|
|
|
|
<PageContainerContent>
|
2018-04-30 18:09:05 +02:00
|
|
|
<div className="send-v2__form">
|
2018-04-11 16:21:54 +02:00
|
|
|
<SendFromRow />
|
2018-05-23 18:43:25 +02:00
|
|
|
<SendToRow updateGas={(updateData) => this.props.updateGas(updateData)} />
|
2018-06-15 23:36:52 +02:00
|
|
|
<SendAmountRow updateGas={(updateData) => this.props.updateGas(updateData)} />
|
2018-04-11 16:21:54 +02:00
|
|
|
<SendGasRow />
|
2018-07-16 22:51:02 +02:00
|
|
|
<SendHexDataRow />
|
2018-04-11 16:21:54 +02:00
|
|
|
</div>
|
|
|
|
</PageContainerContent>
|
2018-04-27 02:38:14 +02:00
|
|
|
)
|
2018-04-11 16:21:54 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|