Created
May 16, 2017 07:54
-
-
Save arqex/b97e5e71ebe08c1c4f1cd28e85d8b9bf to your computer and use it in GitHub Desktop.
Messages component
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
class Messages extends React.Component({ | |
render(){ | |
if( this.props.store.status === 'LOADING' ){ | |
return this.renderLoading(); | |
} | |
else { | |
return this.renderReady(); | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment