export default withStyles(styles, { withTheme: true })(Newproject)
export default connect(null, { Newproject })(Newproject)
How do I integrate this two in same file?
export default withStyles(styles, { withTheme: true })(Newproject)
export default connect(null, { Newproject })(Newproject)
How do I integrate this two in same file?
Use like this.
export default connect(null, { Newproject })(withStyles(styles, { withTheme: true })(Newproject));