Skip to content

Instantly share code, notes, and snippets.

@dbismut
Last active April 9, 2018 08:10
Show Gist options
  • Save dbismut/0419f81058e1fb3cfafab52984f84e12 to your computer and use it in GitHub Desktop.
Save dbismut/0419f81058e1fb3cfafab52984f84e12 to your computer and use it in GitHub Desktop.
Part 3 - Toggle .post-dragged class when dragProgress is greater than null
<div className={cn('page full-width page-post', { 'post-dragged': dragProgress > 0 })}>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment