discovery view create

discovery component modify
This commit is contained in:
geek 2017-07-20 19:17:46 +09:00
parent bae7c83a00
commit 99277b75e4
2 changed files with 28 additions and 2 deletions

View File

@ -0,0 +1,21 @@
import { connect, Dispatch } from 'react-redux';
import {
Discovery,
StateProps as DiscoveryStateProps,
DispatchProps as DiscoveryDispatchProps,
} from './components/Discovery';
export function mapStateToProps(state: any): DiscoveryStateProps {
return {
};
}
export function mapDispatchToProps(dispatch: Dispatch<any>): DiscoveryDispatchProps {
return {
};
}
export default connect(mapStateToProps, mapDispatchToProps)(Discovery);

View File

@ -9,10 +9,15 @@ import {
import { DiscoveryProbe } from './DiscoveryProbe'; import { DiscoveryProbe } from './DiscoveryProbe';
import { DiscoveryTable } from './DiscoveryTable'; import { DiscoveryTable } from './DiscoveryTable';
export interface Props { export interface StateProps {
}
export interface DispatchProps {
} }
export type Props = StateProps & DispatchProps;
export interface State { export interface State {
startPopup:boolean; startPopup:boolean;
probeTemp: any; probeTemp: any;