// @flow import React from "react"; import AppBar from "material-ui/AppBar"; import Toolbar from "material-ui/Toolbar"; import { CircularProgress } from "material-ui/Progress"; import IconButton from "material-ui/IconButton"; import Typography from "material-ui/Typography"; const TopBarLayerSelector = (_props: Object) => ( ); const TopBarIndicatorMenu = (props: Object) => ( {props.mqtt.connected ? () : ()} ); const TopBarIndicator = (props: Object) => { if (props.mqtt == null || props.mqtt.reconnecting) { return (); } else { return (); } }; const TopBar = (props: Object) => ( {props.title} {false && } ); export default TopBar;