mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 02:58:09 +01:00
24 lines
485 B
JavaScript
24 lines
485 B
JavaScript
const Component = require('react').Component
|
|
const h = require('react-hyperscript')
|
|
const inherits = require('util').inherits
|
|
const BuyOptions = require('../buy-options')
|
|
const Modal = require('./modal.js')
|
|
|
|
inherits(BuyModal, Component)
|
|
function BuyModal () {
|
|
Component.call(this)
|
|
}
|
|
|
|
module.exports = BuyModal
|
|
|
|
BuyModal.prototype.render = function () {
|
|
return h(Modal, {
|
|
ref: "modalRef",
|
|
}, [
|
|
h(BuyOptions, {}, []),
|
|
])
|
|
|
|
}
|
|
|
|
// TODO: specify default props and proptypes
|