1.0.1 • Published 3 years ago

react-github-repo-cards v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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

forthebadge forthebadge

A beautiful card that displays Github repository infos.

Demo Show

  • Online Demo Webside

  • Local

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

    open localhost:3001

How to Use 🍕

  1. install

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

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

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

Settings 🔨

ParameterTypeDefaultDescription
usernameString""User name of this repository.
reponameString""Name of the repository.
centerBooleanfalseIf card is aligned center.
squareAvatarBooleanfalseIf avatar is displayed with square outline.
descriptionLineNumber2The maximum line of repo description.
1.0.1

3 years ago

1.0.0

3 years ago