sprinklers3/app/components/SectionRunnerView.tsx

18 lines
479 B
TypeScript
Raw Normal View History

import { observer } from "mobx-react";
2017-07-05 20:50:31 -06:00
import * as React from "react";
import { Segment } from "semantic-ui-react";
import { SectionRunner } from "@common/sprinklers";
2017-07-05 20:50:31 -06:00
@observer
export default class SectionRunnerView extends React.Component<{ sectionRunner: SectionRunner }, {}> {
render() {
2017-09-08 09:49:30 -06:00
return (
<Segment>
<h4>Section Runner Queue</h4>
2017-09-10 20:28:23 -06:00
{this.props.sectionRunner.toString()}
2017-09-08 09:49:30 -06:00
</Segment>
);
2017-07-05 20:50:31 -06:00
}
}