Created
November 8, 2020 10:42
-
-
Save behnamazimi/db6f49f993e6d2d1c41b28d6bf9e97c8 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
function withSomething(Component) { | |
return function (props) { | |
return <Component {...props} something="Any" />; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment