Created
March 25, 2019 00:23
-
-
Save developit/5e302e3a7acc35d00ed245855f83b6ea to your computer and use it in GitHub Desktop.
The Identity Component is a component that does nothing but render its child/children.
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
/** | |
* The Identity Component is a component that does nothing but render its child/children. | |
*/ | |
export default (props) => props.children; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment