Last active
July 30, 2018 22:06
-
-
Save astrotars/6c74df50d9192199b0bbc9d1bf81c1e2 to your computer and use it in GitHub Desktop.
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
{!isElectron() ? ( | |
<span> | |
<a | |
href="#" | |
onClick={e => { | |
e.preventDefault(); | |
e.stopPropagation(); | |
this.handleTweet( | |
this.props.title, | |
this.props.url, | |
); | |
}} | |
> | |
<i className="fab fa-twitter" /> | |
</a> | |
</span> | |
) : null} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment