Skip to content

msmfa/github-repo-display-react

Repository files navigation

github-repo-display-react

A react component that displays your Github repos

NPM JavaScript Style Guide

Install

npm install --save github-repo-display-react

Usage

import React, { Component } from "react"

import { GithubRepoDisplay } from "github-repo-display-react"
import "github-repo-display-react/dist/index.css" // default github styling

const App = () => {
  return (
    <div>
      <GithubRepoDisplay
        numOfrepos={5} // must be included
        userName='msmfa' // must be included
      />
    </div>
  )
}

export default App

Configuration

...

const App = () => {
  return (
    <div>
      <GithubRepoDisplay
        numOfrepos={5}
        userName='msmfa'
        showStars={true} // displays stars
        showLanguage ={true} // displays language
      />
    </div>
  )
}

...

Screenshot

Below are the default styles (which mirror the github feed)

image

Styling

Use these id Tags to customise your component

image

License

MIT © MSMFA

Releases

No releases published

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy