discovery view create
discovery component modify
This commit is contained in:
parent
bae7c83a00
commit
99277b75e4
|
@ -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);
|
|
@ -9,10 +9,15 @@ import {
|
|||
import { DiscoveryProbe } from './DiscoveryProbe';
|
||||
import { DiscoveryTable } from './DiscoveryTable';
|
||||
|
||||
export interface Props {
|
||||
|
||||
export interface StateProps {
|
||||
}
|
||||
|
||||
export interface DispatchProps {
|
||||
|
||||
}
|
||||
|
||||
export type Props = StateProps & DispatchProps;
|
||||
|
||||
export interface State {
|
||||
startPopup:boolean;
|
||||
probeTemp: any;
|
||||
|
|
Loading…
Reference in New Issue
Block a user