import * as React from "react"; import {observer} from "mobx-react"; import {Item, Header} from "semantic-ui-react"; import FontAwesome = require("react-fontawesome"); import * as classNames from "classnames"; import {SprinklersDevice} from "../sprinklers"; import {SectionTable, RunSectionForm, ProgramTable} from "."; const ConnectionState = ({connected}: { connected: boolean }) =>   {connected ? "Connected" : "Disconnected"} ; @observer export default class DeviceView extends React.PureComponent<{ device: SprinklersDevice }, void> { render() { const {id, connected, sections, programs} = this.props.device; return ( ("app/images/raspberry_pi.png")}/>
Device {id}
); } }