react-native-preview-link

8.0.0 • Public • Published

What is this?

transform the url to a beautiful link preview card

Installation

npm install --save link-preview-js react-native-preview-link deprecated-react-native-prop-types

OR

yarn add link-preview-js react-native-preview-link deprecated-react-native-prop-types

Then...

import RNUrlPreview from "react-native-preview-link";

<RNUrlPreview text={"any random text, https://www.youtube.com/watch?v=Kmiw4FYTg2U"} />

Done 🥳

Options

Parses text and wraps URLs , transform the url to a link preview

  • text - text | url

Package Sidebar

Install

npm i react-native-preview-link

Weekly Downloads

7

Version

8.0.0

License

ISC

Unpacked Size

7.75 kB

Total Files

3

Last publish

Collaborators

  • ahmedrashraf