1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-12 12:47:14 +01:00
metamask-extension/ui/app/components/send/send-content/send-content.component.js

31 lines
907 B
JavaScript
Raw Normal View History

2018-04-11 16:21:54 +02:00
import React, { Component } from 'react'
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 {
static propTypes = {
updateGas: PropTypes.func,
};
2018-04-11 16:21:54 +02:00
render () {
return (
<PageContainerContent>
<div className="send-v2__form">
2018-04-11 16:21:54 +02:00
<SendFromRow />
<SendToRow updateGas={(updateData) => this.props.updateGas(updateData)} />
<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-11 16:21:54 +02:00
}
}