discovery

This commit is contained in:
geek 2017-07-11 15:14:03 +09:00
parent b0f933bb4e
commit e863bcc394

View File

@ -1,5 +1,5 @@
import * as React from 'react';
import { Table, Label } from 'semantic-ui-react';
import { Button } from 'semantic-ui-react';
import { DiscoveryProbe } from './DiscoveryProbe';
import { DiscoveryTable } from './DiscoveryTable';
@ -10,6 +10,10 @@ export class DiscoveryDetails extends React.Component<any, any> {
this.state = {};
}
discoveryStartHandler = (event: any, data: object) => {
console.log(event);
};
render() {
return (
<div>
@ -19,6 +23,10 @@ export class DiscoveryDetails extends React.Component<any, any> {
<div style={{ margin: '20px' }}>
<DiscoveryTable />
</div>
<div style={{ margin: '20px' }}>
<Button floated='right' onClick={this.discoveryStartHandler}> Start </Button>
</div>
</div>
);