1.0.0 • Published 4 years ago

react-github-org-members v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

react-github-org-members

Small and simple React component to display GitHub organization members.

NPM JavaScript Style Guide

Demo

Live demo: https://evert-arias.github.io/react-github-org-members

Install

npm install react-github-org-members

Usage

import React from "react";
import Members from "react-github-org-members";

// Organization name
const org_name = "LoRaFlex";

// GitHub token
const github_token = process.env.REACT_APP_GITHUB_TOKEN;

const App = () => {
  return <Members org={org_name} token={github_token} />;
};

export default App;

You must pass the following two props to the component:

org: The organization name

token: GitHub token to authenticate

License

MIT © Evert Arias