-
-
Save olslash/fc48da01a7a0e56047bb62b562aac0e9 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 from 'react'; | |
// import { } from 'lodash'; | |
// import { PropTypes } from 'helpers/react'; | |
// const { } = PropTypes; | |
const $NAME$ = ({ | |
fields | |
} = {}) => (WrappedComponent) => { | |
class Wrapped$NAME$ extends React.Component { | |
static propTypes = { | |
}; | |
static defaultProps = { | |
}; | |
render() { | |
return ( | |
<WrappedComponent { ...this.props } /> | |
); | |
} | |
} | |
return Wrapped$NAME$; | |
}; | |
export default $NAME$; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment