react-github-repo-panel

1.1.3 • Public • Published

react-github-repo-panel License: MIT Ask Me Anything !

forthebadge forthebadge

A beautiful card that displays Github repository infos.

demo

Demo Show

  • Online Demo Webside

  • Local

    git clone https://github.com/InfiniteSynthesis/react-github-repo-panel.git
    cd react-github-repo-panel
    npm i
    npm start

    open localhost:3001

How to Use 🍕

  1. install

    npm i react-github-repo-panel
  2. import

    import import { RepoCard } from 'react-github-repo-panel'
  3. use

    <RepoCard username="InfiniteSynthesis" reponame="react-github-repo-panel" />

Settings 🔨

Parameter Type Default Description
username String "" User name of this repository.
reponame String "" Name of the repository.
center Boolean false If card is aligned center.
squareAvatar Boolean false If avatar is displayed with square outline.
descriptionLine Number 2 The maximum line of repo description.
showLanguage Boolean true If the repo language is displayed.
showLicense Boolean true If the repo license is displayed.

/react-github-repo-panel/

    Package Sidebar

    Install

    npm i react-github-repo-panel

    Weekly Downloads

    0

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    235 kB

    Total Files

    11

    Last publish

    Collaborators

    • infinite_synthesis