aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/buy-modal.js
blob: 9a3e4dff9bf04669e0a327831e02134f8516d5f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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