Skip to content

Instantly share code, notes, and snippets.

@perjansson
Created December 4, 2017 20:48
Show Gist options
  • Save perjansson/23060c5fc2b1ec200b744534a7e9e5cb to your computer and use it in GitHub Desktop.
Save perjansson/23060c5fc2b1ec200b744534a7e9e5cb to your computer and use it in GitHub Desktop.
class ProgressiveImage extends Component {
state = {
currentImage: this.props.preview,
loading: true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment