Skip to content

abhaytalreja/react-social-embed

Repository files navigation

react-social-embed

React Social Embed Component https://abhaytalreja.github.io/react-social-embed/

npm version dependencies npm version npm version npm version npm version

npm i react-social-embed

Live demo

Usage

import InstagramEmbed from 'react-social-embed'

<InstagramEmbed url='https://instagr.am/p/BMhHJVnjFyu/' />
/>
import TweetEmbed from 'react-social-embed'

<TweetEmbed id='789107094247051264' />
/>

props

  • url {String} Instagram URL. Required for InstagramEmbed
  • id {String} Twitter Id. Required for TweetEmbed