Skip to content

Instantly share code, notes, and snippets.

@sagarrajak
Created September 19, 2019 07:03
Show Gist options
  • Save sagarrajak/f92148808b45b5d5b5bf9f9b57c1609d to your computer and use it in GitHub Desktop.
Save sagarrajak/f92148808b45b5d5b5bf9f9b57c1609d to your computer and use it in GitHub Desktop.
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