Created
February 18, 2017 10:45
-
-
Save vishwanatharondekar/46b42dfea47dae983712ece30ab7fc41 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
@mobileRenderable | |
class MyComponent extends React.Component { | |
renderMobile(){ | |
return(<div>Aswesome My Component rendered for mobile </div>) | |
} | |
render(){ | |
return(<div>Awesome My Component</div>) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment