Skip to content

Instantly share code, notes, and snippets.

@ozcanzaferayan
Created May 19, 2020 15:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ozcanzaferayan/9329fca5715c5062a88d96a22eb6b593 to your computer and use it in GitHub Desktop.
Save ozcanzaferayan/9329fca5715c5062a88d96a22eb6b593 to your computer and use it in GitHub Desktop.
<span
onClick={() => completeAt(index)}
style={{ textDecoration: item.isCompleted ? "line-through" : "initial"}}>
{item.name}
</span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment