This commit is contained in:
insanity 2017-07-20 19:25:45 +09:00
parent 9f8cfe93f0
commit e2c180b78e
5 changed files with 78 additions and 5 deletions

View File

@ -0,0 +1,26 @@
import * as React from 'react';
import { RouteComponentProps } from 'react-router';
import ProbeDetailContainer from '@overflow/probe/react/ProbeDetail';
import WebSocketRPC from '@overflow/commons/websocket/WebSocketRPC';
import AppContext from '@overflow/commons/context';
import inject from '@overflow/commons/context/decorator/inject';
class ProbeList extends React.Component<RouteComponentProps<object>, object> {
@inject()
private client: WebSocketRPC;
public constructor(props?: RouteComponentProps<object>, context?: object) {
super(props, context);
let con = AppContext.get<WebSocketRPC>();
}
public render(): JSX.Element {
return (
<ProbeDetailContainer/>
);
}
}
export default ProbeList;

View File

@ -0,0 +1,26 @@
import * as React from 'react';
import { RouteComponentProps } from 'react-router';
import NoauthProbeListContainer from '@overflow/noauthprobe/react/NoauthProbeList';
import WebSocketRPC from '@overflow/commons/websocket/WebSocketRPC';
import AppContext from '@overflow/commons/context';
import inject from '@overflow/commons/context/decorator/inject';
class ProbeList extends React.Component<RouteComponentProps<object>, object> {
@inject()
private client: WebSocketRPC;
public constructor(props?: RouteComponentProps<object>, context?: object) {
super(props, context);
let con = AppContext.get<WebSocketRPC>();
}
public render(): JSX.Element {
return (
<NoauthProbeListContainer/>
);
}
}
export default ProbeList;

View File

@ -0,0 +1,26 @@
import * as React from 'react';
import { RouteComponentProps } from 'react-router';
import ProbeDownContainer from '@overflow/probe/react/ProbeDown';
import WebSocketRPC from '@overflow/commons/websocket/WebSocketRPC';
import AppContext from '@overflow/commons/context';
import inject from '@overflow/commons/context/decorator/inject';
class ProbeList extends React.Component<RouteComponentProps<object>, object> {
@inject()
private client: WebSocketRPC;
public constructor(props?: RouteComponentProps<object>, context?: object) {
super(props, context);
let con = AppContext.get<WebSocketRPC>();
}
public render(): JSX.Element {
return (
<ProbeDownContainer/>
);
}
}
export default ProbeList;

View File

@ -31,10 +31,6 @@ export class ProbeDetail extends React.Component<Props, State> {
};
}
public componentWillMount(): void {
super.componentWillMount();
}
public render(): JSX.Element {
return (
<Container fluid>

View File

@ -35,7 +35,6 @@ export class ProbeList extends React.Component<Props, State> {
}
public componentWillMount(): void {
super.componentWillMount();
this.data = [
{
'id': '11',