Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

react-tweet-embed

1.1.1 • Public • Published

react-tweet-embed

Install

npm i react-tweet-embed

Quickstart

import TweetEmbed from 'react-tweet-embed'
 
<TweetEmbed id='692527862369357824' />

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.

Using Options

<TweetEmbed id='783943172057694208' options={{cards: 'hidden' }}/>
<TweetEmbed id='771763270273294336' options={{theme: 'dark' }}/>

Embedded-Tweet Options Reference: https://dev.twitter.com/web/embedded-tweets/parameters

Keywords

none

install

npm i react-tweet-embed

Downloadsweekly downloads

2,815

version

1.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability