react component that takes tweet id in props and renders tweet embed, nothing more
npm install react-tweet-embed```
npm i react-tweet-embed
`tsx
import React from 'react'
import TweetEmbed from 'react-tweet-embed'
export const App = () => {
return
}
`
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.
`tsx``
Embedded-Tweet Options Reference:
https://developer.twitter.com/en/docs/twitter-for-websites/embedded-tweets/guides/embedded-tweet-parameter-reference