react-native-tweet-embed
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

react-native-tweet-embed

npm version

Embed a specific tweet in a React Native view

Installation

yarn add react-native-tweet-embed

or

npm install --save react-native-tweet-embed

This component uses a native ios and Android module to optimize fetching the twitter widget js blob.

react-native version >= v60

Linking is handled automatically. You must install pods only.

cd ios && pod install

react-native version < v60

Link the native modules with the following command

react-native link react-native-tweet-embed

Usage

import { TweetEmbed } from 'react-native-tweet-embed';
// ...

<TweetEmbed tweetId={'1236076554909872128'} />;

react native tweet embed on ios simulator

License

MIT

Package Sidebar

Install

npm i react-native-tweet-embed

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

52.3 kB

Total Files

46

Last publish

Collaborators

  • jmcbee1