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