github-org-cards

1.0.1 • Public • Published

github-org-cards

Obtains members of a GitHub Org using the GitHub Orgs API, shuffles them, retrieves the user profile for each member and renders a card in a responsive 12-column-based layout with an optionally-provided number of columns per card.

NPM JavaScript Style Guide

github-org-cards

Install

npm install --save github-org-cards

Usage

See example/src/App.js for a full example.

import React, { Component } from 'react'
 
import {GitHubOrg} from 'github-org-cards'
 
class Example extends Component {
  render () {
    return (
      <GitHubOrg columns={2} org='reactjs' />
    )
  }
}

License

MIT © devth

Readme

Keywords

none

Package Sidebar

Install

npm i github-org-cards

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

889 kB

Total Files

8

Last publish

Collaborators

  • devth