Skip to content

react component which takes a tweet id in props and you'll get a tweet embed rendered once the twitter clientside API loads, nothing more

License

Notifications You must be signed in to change notification settings

capaj/react-tweet-embed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 in your index.html as this lib will put it there if twttr is not found on window.

About

react component which takes a tweet id in props and you'll get a tweet embed rendered once the twitter clientside API loads, nothing more

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published