Last active
March 23, 2018 17:24
-
-
Save johnloven/7576cd6eb9a42f657165417fff50fde1 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
const doNothing = WrappedComponent => | |
class DoNothing extends React.Component { | |
render() { | |
return <WrappedComponent {...this.props}/> | |
} | |
}; | |
export default doNothing; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment