sprinklers3/app/components/DevicesView.tsx

18 lines
443 B
TypeScript
Raw Normal View History

2017-09-10 12:30:23 -06:00
import { observer } from "mobx-react";
import * as React from "react";
2017-09-10 20:28:23 -06:00
import { Item } from "semantic-ui-react";
2017-09-10 12:30:23 -06:00
import DeviceView from "@app/components/DeviceView";
class DevicesView extends React.Component<{deviceId: string}> {
2017-09-10 12:30:23 -06:00
render() {
2017-09-10 20:28:23 -06:00
return (
<Item.Group divided>
<DeviceView deviceId={this.props.deviceId} />
2017-09-10 20:28:23 -06:00
</Item.Group>
);
2017-09-10 12:30:23 -06:00
}
}
2017-09-10 17:06:11 -06:00
export default observer(DevicesView);