1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 19:10:22 +01:00
metamask-extension/ui/app/components/send_/send-content/send-content.component.js

29 lines
829 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/'
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 />
</div>
</PageContainerContent>
)
2018-04-11 16:21:54 +02:00
}
}