Created
July 13, 2018 19:34
-
-
Save yevbar/51b05d6e8d91ae66bf53fbc3194c81fe 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
const Loading = ({ incomplete }) => { | |
return incomplete ? null : ( | |
<div> | |
<div id="loading"> | |
<img src="https://media.giphy.com/media/a6OnFHzHgCU1O/giphy.gif" alt="Loading"/> | |
</div> | |
<style jsx>{` | |
#loading { | |
text-align: center; | |
} | |
`}</style> | |
</div> | |
) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment