Created
June 12, 2020 22:41
-
-
Save ltsharma/2c97a0322f9c05f2d17db93cca1f3b56 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
const AwesomeChild =({text,style})=>{ | |
return( | |
<Text style={style} >{text}</Text> | |
) | |
} | |
export default React.memo(AwesomeChild) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment