You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// @flow
|
|
|
|
import React, { Component } from 'react'
|
|
|
|
import { MODAL_SEND } from 'config/constants'
|
|
|
|
import Modal from 'components/base/Modal'
|
|
|
|
import SendModalBody from './SendModalBody'
|
|
|
|
|
|
|
|
class SendModal extends Component<void> {
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<Modal
|
|
|
|
name={MODAL_SEND}
|
|
|
|
preventBackdropClick
|
|
|
|
render={({ data, onClose }) => (
|
|
|
|
<SendModalBody {...this.props} initialAccount={data && data.account} onClose={onClose} />
|
|
|
|
)}
|
|
|
|
/>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
export default SendModal
|