You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
549 B
19 lines
549 B
7 years ago
|
import { observer } from "mobx-react";
|
||
|
import * as React from "react";
|
||
7 years ago
|
import { Item } from "semantic-ui-react";
|
||
7 years ago
|
|
||
7 years ago
|
import DeviceView from "@client/components/DeviceView";
|
||
7 years ago
|
import { RouteComponentProps, withRouter } from "react-router";
|
||
7 years ago
|
|
||
7 years ago
|
class DevicesView extends React.Component<{deviceId: string} & RouteComponentProps<any>> {
|
||
7 years ago
|
render() {
|
||
7 years ago
|
return (
|
||
|
<Item.Group divided>
|
||
7 years ago
|
<DeviceView deviceId={this.props.deviceId} />
|
||
7 years ago
|
</Item.Group>
|
||
|
);
|
||
7 years ago
|
}
|
||
|
}
|
||
|
|
||
7 years ago
|
export default withRouter(observer(DevicesView));
|