Created
September 19, 2019 07:03
-
-
Save sagarrajak/f92148808b45b5d5b5bf9f9b57c1609d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react' | |
import { connect } from 'react-redux' | |
import { Action } from 'redux' | |
interface IState { | |
} | |
interface IOwnProps { | |
} | |
interface IStateProps { | |
} | |
interface IDiaptchProps { | |
} | |
type IProps = IOwnProps & IStateProps & IDiaptchProps; | |
class Jobs extends Component<IProps, IState> { | |
render() { | |
return ( | |
<div> | |
</div> | |
) | |
} | |
} | |
const mapStateToProps = (state: IRootState): IStateProps => ({ | |
}); | |
const mapDispatchToProps = (action: Action<any>): IDiaptchProps => { | |
return { | |
} | |
}; | |
export default connect<IStateProps, IDiaptchProps, IOwnProps, IRootState>(mapStateToProps, mapDispatchToProps)(Jobs) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment