import React from 'react'; import ReactDOM from 'react-dom'; import { Tabs, Tab } from 'react-bootstrap'; import EmbarkJS from 'Embark/EmbarkJS'; import Blockchain from './components/blockchain'; import Whisper from './components/whisper'; import Storage from './components/storage'; import './dapp.css'; class App extends React.Component { constructor(props) { super(props); this.state = { whisperEnabled: false, storageEnabled: false } } componentDidMount(){ // TODO Verify if whisper & swarm/ipfs are available this.setState({ whisperEnabled: false, storageEnabled: false }); } _renderStatus(title, available){ let className = available ? 'pull-right status-online' : 'pull-right status-offline'; return {title} ; } render(){ return (

Embark - Usage Example

); } } ReactDOM.render(, document.getElementById('app'));