react-contributors
v1.1.2
Published
Small and simple React Component to display project's contributors
Downloads
5
Maintainers
Readme
react-contributors
Small and simple React component to display a fully responsive list of your project's contributors with info gathered from their GitHub profile.
Demo
Live demo: https://evert-arias.github.io/react-contributors/
Install
npm install --save react-contributors
Usage
import React, { Component } from "react";
import Contributors from "react-contributors";
// Username of the repo(s) owner.
const owner = "evert-arias";
// Repository name or array with multiple repositories names.
const repos = ["EasyButton", "easybtn.earias.me"];
class App extends Component {
render() {
return <Contributors owner={owner} repo={repos} />;
}
}
You must pass the following two props to the component:
owner: Username of the repo(s) owner.
repo: Repository name or array with multiple repositories names
License
MIT © Evert Arias