Created
January 16, 2018 13:39
-
-
Save diego3g/56cd6ae6e085093e61c02265dd465637 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
export function withRepoData(username) { | |
return WrappedComponent => { | |
return class extends Component { | |
// código do HOC | |
}; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment