Created
March 6, 2018 14:43
-
-
Save mweststrate/2d48bb1a6ec5f5e5eec3e1a4a949fc38 to your computer and use it in GitHub Desktop.
CityView 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
const CityView = observer(({ city }) => ( | |
<li> | |
City: {city.location} - Temperature in ℃: {city.temperature || 'Loading'} | |
</li> | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment