import * as React from "react"; import {observer} from "mobx-react"; import * as classNames from "classnames"; import {Table} from "semantic-ui-react"; import FontAwesome = require("react-fontawesome"); import {Section} from "../sprinklers"; /* tslint:disable:object-literal-sort-keys */ @observer export default class SectionTable extends React.PureComponent<{ sections: Section[] }, void> { private static renderRow(section: Section, index: number) { if (!section) { return null; } const {name, state} = section; return (