react-native-embed-instagram

    0.1.1 • Public • Published

    react-native-embed-instagram

    Instagram Embed for React Native
    Thanks to GaborWnuk

    What is it for?

    Simple as that - we needed Instagram embeds in our application, and couldn't find anything decent on the internet.

    Feel free to contribute.

    How does it work?

    Use it to display standard Instagram embed "natively" (without WebView).

    Screenshot

    Installation

    Installation

    npm i --save react-native-embed-instagram
    

    Example:

    import InstagramEmbed from 'react-native-embed-instagram'  
    
    
    <InstagramEmbed id="Bbbm0WmgVLa" style={{ width: "100%" }} />
    

    config

    Property Type Default Description
    id string "" The ID of the post
    style object {} The container Style
    showAvatar boolean true Show the author details
    showCaption boolean true Show the post caption
    showStats boolean true Show the post stats
    avatarStyle object {} Avatar style
    nameStyle object {} Author username style
    thumbnailStyle object {} Thumbnail style
    renderCaption fun null Render caption function

    License

    MIT.

    Install

    npm i react-native-embed-instagram

    DownloadsWeekly Downloads

    38

    Version

    0.1.1

    License

    none

    Unpacked Size

    271 kB

    Total Files

    12

    Last publish

    Collaborators

    • kobidl