react-instagram-button

Instagram follow button component for React

Usage no npm install needed!

<script type="module">
  import reactInstagramButton from 'https://cdn.skypack.dev/react-instagram-button';
</script>

README

Instagram follow button for React

A component for showing a follow button and the number of followers.

Install the package

npm install --save react-instagram-button

Example

import React,  {  Component  }  from  "react";
import InstagramButton from  "react-instagram-button";

class  App  extends  Component  {
    render()  {
        return  (
            <div style={{ display: "flex", justifyContent: "center"}}>
                <InstagramButton username={"rotherford_"} />
            </div>
        );
    }
}

export  default App;

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

License

This project is licensed under the MIT License - see the LICENSE file for details