/react-tweet-embed

component that you supply tweet id and you'll get a tweet embed back, nothing more

Primary LanguageJavaScriptMIT LicenseMIT

react-tweet-embed

Install

npm i react-tweet-embed
#or
jspm i npm:react-tweet-embed

Usage

import TweetEmbed from 'react-tweet-embed'

<TweetEmbed id='692527862369357824'></TweetEmbed>

You don't have to put //platform.twitter.com/widgets.js script in your index.html as this lib will put it there if twttr is not found on window.