import EmbarkJS from 'Embark/EmbarkJS';
import ENSRegistry from 'Embark/contracts/ENSRegistry';
import React, { Fragment } from 'react';
import { Form, FormGroup, FormControl, HelpBlock, Button, ControlLabel } from 'react-bootstrap';
import AddDomain from './ens/addDomain'
import SetupENS from './ens/setupENS'
const FieldGroup = ({ id, label, help, ...props }) => (
{label}
{help && {help}}
)
const ENSSubManagement = (props) => (
Subdomain Management
Add Domain
)
//console.log(ENSRegistry);
setTimeout(() => ENSRegistry.getPastEvents(
'allEvents',
{},
(err, res) => { console.log(err, res) }), 2000)
export default ENSSubManagement